i was wondering if it is possible to have the same URL for different actions based on the user. Let's say i want to have 2 routes like this:
Route::get('/calendar', 'Admin/[email protected]');
Route::get('/calendar', 'Participant/[email protected]');
I want to avoid 2 routes like '/admin/calendar' and '/participant/calendar'
Is there a way to do this?
Thanks in advance
Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.