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