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