芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/portpulselogistics.com/Modules/Currency/Routes/web.php
LaravelLocalization::setLocale(), 'middleware' => [ 'localeSessionRedirect', 'localizationRedirect', 'localeViewPath' ] ], function(){ Route::middleware('auth')->prefix(env('PREFIX_ADMIN', 'admin'))->group(function() { // Currency Routes Route::post('/currency/update_default_currency', 'CurrencyController@update_default_currency')->name('currency.update_default_currency'); Route::post('/currency/update_status', 'CurrencyController@update_status')->name('currency.update_status'); Route::delete('/currencies-multi-destroy', 'CurrencyController@multiDestroy')->name('currencies.multi-destroy'); Route::resource('currencies','CurrencyController')->parameters(['currencies' => 'id'])->except('create', 'show'); }); }); }else{ Route::middleware('auth')->prefix(env('PREFIX_ADMIN', 'admin'))->group(function() { // Currency Routes Route::post('/currency/update_default_currency', 'CurrencyController@update_default_currency')->name('currency.update_default_currency'); Route::post('/currency/update_status', 'CurrencyController@update_status')->name('currency.update_status'); Route::delete('/currencies-multi-destroy', 'CurrencyController@multiDestroy')->name('currencies.multi-destroy'); Route::resource('currencies','CurrencyController')->parameters(['currencies' => 'id'])->except('create', 'show'); }); }