Im new to Laravel and just ran into a problem. I got these two routes.
Route::get('posts/{id}', 'PostController@show'); // To show the post Route::resource('users', 'UserController'); The problem is when i want to go to /posts/create tries to send me to the show function, but ofcourse can find the object. What am i doing wrong? So i thinks the word "create" is an id.
Hope you can help me out.
show. You can handle it in controller or you can create an new route.