I have implemented middleware roles and permissions control in my app, but I cannot figure out why it only allows me to define one '/' route. The second one is still pointing to '/home' even though I override AuthController redirectTo variable.
My routes:
Route::group(['middleware' => 'role:user'], function()
{
Route::get('/', 'ScoresController@user');
});
Route::group(['middleware' => 'role:admin'], function()
{
Route::get('/', 'PagesController@home');
});
In any case after authentication user with user role redirecting to '/home'.