1
In my file Routes > web.php I have the following routes:
Route::get('/user', (...));
Route::get('/user/{id}', (...) );
Route::get('/user/{id}/{nome}', (...) ); // retorna o nome e id do usuário
Route::get('/user/{id}/perfil', (...) ); // retorna o perfil do usuário
When I try to access the last route, Laravel always solves the routing by returning the comments... how I could leave the same route prefix with user/id but accessing the route referring to the profile ?
Thanks ! I will try André! : D ; - So the routes with "parameters" I should always call after?
– Kasio Eduardo
That Kasio, you have to call later or else you will always understand as parameter.
– André Lins
Problem solved?
– André Lins
Yes! Thank you Andy!
– Kasio Eduardo
Great, don’t forget to put the answer with the right one, to help others in the future.
– André Lins