gangachris
7/12/2016 - 7:34 AM

Same Route Defining multiple controllers

Same Route Defining multiple controllers

<?php
Route::group(['middleware' => ['web', 'auth','adminMiddleware']], function () { 
    Route::get('/panel/home', 'UserAdminController@showAdminHome');
    Route::get('/panel/home', 'UserRegionController@showAdminRegionHome');
    Route::get('/panel/home', 'UserPlaceController@showAdminPlaceHome');
});