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