env('APP_HOST'), 'prefix' => 'admin/config'],function(){ Route::get('index', 'ConfigsController@index_new')->name('admin.config.index'); Route::get('about_us', 'ConfigsController@about_us')->name('admin.config.about_us'); Route::get('agreement', 'ConfigsController@agreement')->name('admin.config.agreement'); Route::get('beans', 'ConfigsController@beans')->name('admin.config.beans'); Route::get('order_set', 'ConfigsController@order_set')->name('admin.config.order_set'); Route::get('on_order_set', 'ConfigsController@on_order_set')->name('admin.config.on_order_set'); Route::post('on_order_set', 'ConfigsController@on_order_set')->name('admin.config.ajax.on_order_set'); Route::get('consume', 'ConfigsController@consume')->name('admin.config.consume'); Route::get('use_expense', 'ConfigsController@use_expense')->name('admin.config.use_expense'); Route::post('use_expense', 'ConfigsController@use_expense')->name('admin.config.ajax.use_expense'); Route::post('index', 'ConfigsController@index')->name('admin.config.ajax.index'); Route::get('store','ConfigsController@store')->name('admin.config.store'); Route::post('store','ConfigsController@store')->name('admin.config.save'); Route::post('destroy/{id?}','ConfigsController@destroy')->name('admin.config.destroy'); Route::post('destroys','ConfigsController@destroys')->name('admin.config.destroys'); Route::get('edit/{id?}','ConfigsController@edit')->name('admin.config.edit'); Route::post('update','ConfigsController@update_new1')->name('admin.config.update'); });