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