123456789101112131415161718 |
- <?php
- use Illuminate\Support\Facades\Route;
- Route::group(['domain' => env('APP_HOST'), 'prefix' => 'admin/notice'],function(){
- Route::get('index', 'NoticesController@index')->name('admin.notice.index');
- Route::post('index', 'NoticesController@index')->name('admin.notice.ajax.index');
- Route::get('store','NoticesController@store')->name('admin.notice.store');
- Route::post('store','NoticesController@store')->name('admin.notice.save');
- Route::post('destroy/{id?}','NoticesController@destroy')->name('admin.notice.destroy');
- Route::post('destroys','NoticesController@destroys')->name('admin.notice.destroys');
- Route::get('edit/{id?}','NoticesController@edit')->name('admin.notice.edit');
- Route::post('update/{id?}','NoticesController@update')->name('admin.notice.update');
- });
|