|
@@ -1,11 +1,11 @@ |
|
|
block discarded – undo |
|
1
|
1
|
<?php |
|
2
|
2
|
|
|
3
|
3
|
/** Notifications Routes **/ |
|
4
|
|
-Route::group(['middleware' => ['web', 'auth'], 'namespace' => 'Hechoenlaravel\JarvisFoundation\Http\Controllers'], function () { |
|
|
4
|
+Route::group(['middleware' => ['web', 'auth'], 'namespace' => 'Hechoenlaravel\JarvisFoundation\Http\Controllers'], function() { |
|
5
|
5
|
Route::get('notifications', ['as' => 'notifications.index', 'uses' => 'NotificationsController@index']); |
|
6
|
6
|
Route::get('notifications/{id}/read', ['as' => 'notifications.read', 'uses' => 'NotificationsController@read']); |
|
7
|
|
- Route::group(['prefix' => 'api'], function(){ |
|
8
|
|
- Route::group(['prefix' => 'core'], function(){ |
|
|
7
|
+ Route::group(['prefix' => 'api'], function() { |
|
|
8
|
+ Route::group(['prefix' => 'core'], function() { |
|
9
|
9
|
Route::resource('entity/{id}/fields', 'Core\FieldsController', ['only' => ['index', 'store', 'update', 'destroy']]); |
|
10
|
10
|
Route::put('entity/{id}/order-fields', 'Core\FieldsController@reOrderFieldId'); |
|
11
|
11
|
Route::get('field-type/{type}/form', 'Core\FieldsController@fieldTypeForm'); |
Please login to merge, or discard this patch.