代码:
public function create(Content $content)
{
$steps = [
'userinfo' => UserInfo::class,
'agentinfo' => AgentInfo::class,
];
return $content->body(MultipleSteps::make($steps));
}
路由:$router->resource('user',UserController::class);
第一步完成后,点击下一步,报错:
Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException
The GET method is not supported for this route. Supported methods: POST.
路由问题,但不知道为啥,求教