@@ -13,7 +13,7 @@ |
||
13 | 13 | | |
14 | 14 | */ |
15 | 15 | |
16 | -Route::group(['prefix' => 'push/notification/devices'], function () { |
|
16 | +Route::group(['prefix' => 'push/notification/devices'], function() { |
|
17 | 17 | |
18 | 18 | Route::get('/', 'PushNotificationDeviceController@index'); |
19 | 19 | Route::get('/{id}', 'PushNotificationDeviceController@find'); |
@@ -15,12 +15,12 @@ |
||
15 | 15 | |
16 | 16 | Route::group(['prefix' => 'push/notification/devices'], function () { |
17 | 17 | |
18 | - Route::get('/', 'PushNotificationDeviceController@index'); |
|
19 | - Route::get('/{id}', 'PushNotificationDeviceController@find'); |
|
20 | - Route::post('/', 'PushNotificationDeviceController@insert'); |
|
21 | - Route::put('/', 'PushNotificationDeviceController@update'); |
|
22 | - Route::delete('/{id}', 'PushNotificationDeviceController@delete'); |
|
23 | - Route::get('list/deleted', 'PushNotificationDeviceController@deleted'); |
|
24 | - Route::patch('restore/{id}', 'PushNotificationDeviceController@restore'); |
|
25 | - Route::post('register/device', 'PushNotificationDeviceController@registerDevice'); |
|
18 | + Route::get('/', 'PushNotificationDeviceController@index'); |
|
19 | + Route::get('/{id}', 'PushNotificationDeviceController@find'); |
|
20 | + Route::post('/', 'PushNotificationDeviceController@insert'); |
|
21 | + Route::put('/', 'PushNotificationDeviceController@update'); |
|
22 | + Route::delete('/{id}', 'PushNotificationDeviceController@delete'); |
|
23 | + Route::get('list/deleted', 'PushNotificationDeviceController@deleted'); |
|
24 | + Route::patch('restore/{id}', 'PushNotificationDeviceController@restore'); |
|
25 | + Route::post('register/device', 'PushNotificationDeviceController@registerDevice'); |
|
26 | 26 | }); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | | |
14 | 14 | */ |
15 | 15 | |
16 | -Route::group(['prefix' => 'permissions'], function () { |
|
16 | +Route::group(['prefix' => 'permissions'], function() { |
|
17 | 17 | |
18 | 18 | Route::get('/', 'PermissionController@index'); |
19 | 19 | Route::get('/{id}', 'PermissionController@find'); |
@@ -15,6 +15,6 @@ |
||
15 | 15 | |
16 | 16 | Route::group(['prefix' => 'permissions'], function () { |
17 | 17 | |
18 | - Route::get('/', 'PermissionController@index'); |
|
19 | - Route::get('/{id}', 'PermissionController@find'); |
|
18 | + Route::get('/', 'PermissionController@index'); |
|
19 | + Route::get('/{id}', 'PermissionController@find'); |
|
20 | 20 | }); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | | |
12 | 12 | */ |
13 | 13 | |
14 | -Route::group(['prefix' => 'oauth/clients'], function () { |
|
14 | +Route::group(['prefix' => 'oauth/clients'], function() { |
|
15 | 15 | |
16 | 16 | Route::get('/', 'OauthClientController@index'); |
17 | 17 | Route::get('/{id}', 'OauthClientController@find'); |
@@ -13,10 +13,10 @@ |
||
13 | 13 | |
14 | 14 | Route::group(['prefix' => 'oauth/clients'], function () { |
15 | 15 | |
16 | - Route::get('/', 'OauthClientController@index'); |
|
17 | - Route::get('/{id}', 'OauthClientController@find'); |
|
18 | - Route::post('/', 'OauthClientController@insert'); |
|
19 | - Route::put('/', 'OauthClientController@update'); |
|
20 | - Route::get('revoke/{id}', 'OauthClientController@revoke'); |
|
21 | - Route::get('unrevoke/{id}', 'OauthClientController@unRevoke'); |
|
16 | + Route::get('/', 'OauthClientController@index'); |
|
17 | + Route::get('/{id}', 'OauthClientController@find'); |
|
18 | + Route::post('/', 'OauthClientController@insert'); |
|
19 | + Route::put('/', 'OauthClientController@update'); |
|
20 | + Route::get('revoke/{id}', 'OauthClientController@revoke'); |
|
21 | + Route::get('unrevoke/{id}', 'OauthClientController@unRevoke'); |
|
22 | 22 | }); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | | |
12 | 12 | */ |
13 | 13 | |
14 | -Route::group(['prefix' => 'settings'], function () { |
|
14 | +Route::group(['prefix' => 'settings'], function() { |
|
15 | 15 | |
16 | 16 | Route::get('/', 'SettingController@index'); |
17 | 17 | Route::get('/{id}', 'SettingController@find'); |
@@ -13,11 +13,11 @@ |
||
13 | 13 | |
14 | 14 | Route::group(['prefix' => 'settings'], function () { |
15 | 15 | |
16 | - Route::get('/', 'SettingController@index'); |
|
17 | - Route::get('/{id}', 'SettingController@find'); |
|
18 | - Route::put('/', 'SettingController@update'); |
|
19 | - Route::delete('/{id}', 'SettingController@delete'); |
|
20 | - Route::get('list/deleted', 'SettingController@deleted'); |
|
21 | - Route::patch('restore/{id}', 'SettingController@restore'); |
|
22 | - Route::post('save/many', 'SettingController@saveMany'); |
|
16 | + Route::get('/', 'SettingController@index'); |
|
17 | + Route::get('/{id}', 'SettingController@find'); |
|
18 | + Route::put('/', 'SettingController@update'); |
|
19 | + Route::delete('/{id}', 'SettingController@delete'); |
|
20 | + Route::get('list/deleted', 'SettingController@deleted'); |
|
21 | + Route::patch('restore/{id}', 'SettingController@restore'); |
|
22 | + Route::post('save/many', 'SettingController@saveMany'); |
|
23 | 23 | }); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | | |
12 | 12 | */ |
13 | 13 | |
14 | -Route::group(['prefix' => 'reports'], function () { |
|
14 | +Route::group(['prefix' => 'reports'], function() { |
|
15 | 15 | |
16 | 16 | Route::get('/', 'ReportController@index'); |
17 | 17 | Route::get('/{id}', 'ReportController@find'); |
@@ -13,12 +13,12 @@ |
||
13 | 13 | |
14 | 14 | Route::group(['prefix' => 'reports'], function () { |
15 | 15 | |
16 | - Route::get('/', 'ReportController@index'); |
|
17 | - Route::get('/{id}', 'ReportController@find'); |
|
18 | - Route::post('/', 'ReportController@insert'); |
|
19 | - Route::put('/', 'ReportController@update'); |
|
20 | - Route::delete('/{id}', 'ReportController@delete'); |
|
21 | - Route::get('list/deleted', 'ReportController@deleted'); |
|
22 | - Route::patch('restore/{id}', 'ReportController@restore'); |
|
23 | - Route::post('get/{reportName}', 'ReportController@getReport'); |
|
16 | + Route::get('/', 'ReportController@index'); |
|
17 | + Route::get('/{id}', 'ReportController@find'); |
|
18 | + Route::post('/', 'ReportController@insert'); |
|
19 | + Route::put('/', 'ReportController@update'); |
|
20 | + Route::delete('/{id}', 'ReportController@delete'); |
|
21 | + Route::get('list/deleted', 'ReportController@deleted'); |
|
22 | + Route::patch('restore/{id}', 'ReportController@restore'); |
|
23 | + Route::post('get/{reportName}', 'ReportController@getReport'); |
|
24 | 24 | }); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | | |
14 | 14 | */ |
15 | 15 | |
16 | -Route::group(['prefix' => 'groups'], function () { |
|
16 | +Route::group(['prefix' => 'groups'], function() { |
|
17 | 17 | |
18 | 18 | Route::get('/', 'GroupController@index'); |
19 | 19 | Route::get('/{id}', 'GroupController@find'); |
@@ -15,12 +15,12 @@ |
||
15 | 15 | |
16 | 16 | Route::group(['prefix' => 'groups'], function () { |
17 | 17 | |
18 | - Route::get('/', 'GroupController@index'); |
|
19 | - Route::get('/{id}', 'GroupController@find'); |
|
20 | - Route::post('/', 'GroupController@insert'); |
|
21 | - Route::put('/', 'GroupController@update'); |
|
22 | - Route::delete('/{id}', 'GroupController@delete'); |
|
23 | - Route::get('list/deleted', 'GroupController@deleted'); |
|
24 | - Route::patch('restore/{id}', 'GroupController@restore'); |
|
25 | - Route::post('assign/permissions', 'GroupController@assignPermissions'); |
|
18 | + Route::get('/', 'GroupController@index'); |
|
19 | + Route::get('/{id}', 'GroupController@find'); |
|
20 | + Route::post('/', 'GroupController@insert'); |
|
21 | + Route::put('/', 'GroupController@update'); |
|
22 | + Route::delete('/{id}', 'GroupController@delete'); |
|
23 | + Route::get('list/deleted', 'GroupController@deleted'); |
|
24 | + Route::patch('restore/{id}', 'GroupController@restore'); |
|
25 | + Route::post('assign/permissions', 'GroupController@assignPermissions'); |
|
26 | 26 | }); |