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