How to solve route not defined in laravel 5.3?

前端 未结 1 1521
灰色年华
灰色年华 2021-01-26 10:01

My controller code is like this :

public function store(CreateUserRequest $request)
{
    $input = $request->all();

    $user = $this->userRepository->         


        
1条回答
  •  北海茫月
    2021-01-26 10:33

    You should call the route() function as:

    route('users.index.year', ['year' => $year])
    

    0 讨论(0)
提交回复
热议问题