Answer the question
In order to leave comments, you need to log in
How does routing work in Laravel?
Good afternoon.
Can you please tell me whether it is possible to do the following things in Laravel routing (version 5 or 4 is desirable):
1. Skip the route depending on the conditions. For example something like this
Route::get('{route}', function() {
// переходим к следующему роуту
return false;
});
Route::get('user/{action}', '[email protected]{action}');
Answer the question
In order to leave comments, you need to log in
Thank you all for your participation. Especially @ssenkevich and @AmdY
Partial solution of the problem is in their comments ( 1 ) ( 2 ) ( 3 )
I think there is enough information here not to ask such questions.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question