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