芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/portpulselogistics.com/Modules/Users/Routes/web.php
LaravelLocalization::setLocale(), 'middleware' => [ 'localeSessionRedirect', 'localizationRedirect', 'localeViewPath' ] ], function(){ Route::middleware('auth')->prefix(env('PREFIX_ADMIN', 'admin'))->group(function() { Route::resource('/users', 'UsersController')->parameters(['users' => 'id']); Route::delete('/users-multi-destroy', 'UsersController@multiDestroy')->name('users.multi-destroy'); Route::get('/users/{id}/manage-access', 'UsersController@assignPermissionToUserView')->name('users.view-manage-access'); Route::post('/users/{id}/manage-access', 'UsersController@assignPermissionToUser')->name('users.manage-access'); }); }); }else{ Route::middleware('auth')->prefix(env('PREFIX_ADMIN', 'admin'))->group(function() { Route::resource('/users', 'UsersController')->parameters(['users' => 'id']); Route::delete('/users-multi-destroy', 'UsersController@multiDestroy')->name('users.multi-destroy'); Route::get('/users/{id}/manage-access', 'UsersController@assignPermissionToUserView')->name('users.view-manage-access'); Route::post('/users/{id}/manage-access', 'UsersController@assignPermissionToUser')->name('users.manage-access'); }); }