env('APP_HOST'), 'prefix' => 'admin/menu'],function(){ Route::get('index', 'MenusController@index')->name('admin.menu.index'); Route::post('index', 'MenusController@index')->name('admin.menu.ajax.index'); Route::get('store','MenusController@store')->name('admin.menu.store'); Route::post('store','MenusController@store')->name('admin.menu.save'); Route::post('destroy/{id?}','MenusController@destroy')->name('admin.menu.destroy'); Route::post('destroys','MenusController@destroys')->name('admin.menu.destroys'); Route::get('edit/{id?}','MenusController@edit')->name('admin.menu.edit'); Route::post('update/{id?}','MenusController@update')->name('admin.menu.update'); Route::match(['get','post'],'parentMenu','MenusController@getParentMenuList')->name('admin.menu.parentMenu'); });