name('image'); Route::get('admin/switch/start/{id}','\Leenooks\Controllers\AdminController@user_switch_start')->name('switch.user.stop'); Route::get('admin/switch/stop','\Leenooks\Controllers\AdminController@user_switch_stop')->name('switch.user.start'); Route::group(['middleware'=>['theme:adminlte-be']], function() { Auth::routes(); Route::get('/logout','Auth\LoginController@logout'); Route::get('/r/supplier/index', 'SuppliersController@index'); Route::get('/r/supplier/create', 'SuppliersController@create'); Route::post('/r/supplier/store', 'SuppliersController@store'); Route::get('/home', 'UserHomeController@home'); }); Route::group(['middleware'=>['theme:metronic-fe']], function() { Route::get('/', 'WelcomeController@index'); }); Route::demoAccess('/uc-access'); Route::get('/under-construction','WelcomeController@under_construction');