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