|
@@ -655,7 +655,7 @@ discard block |
|
|
block discarded – undo |
|
655
|
655
|
->name('api.jobs.submit'); |
|
656
|
656
|
Route::resource('jobs', 'Api\JobApiController')->only([ |
|
657
|
657
|
'show', 'store', 'update', 'index' |
|
658
|
|
- ])->names([ // Specify custom names because default names collied with existing routes. |
|
|
658
|
+ ])->names([// Specify custom names because default names collied with existing routes. |
|
659
|
659
|
'show' => 'api.jobs.show', |
|
660
|
660
|
'store' => 'api.jobs.store', |
|
661
|
661
|
'update' => 'api.jobs.update', |
|
@@ -664,7 +664,7 @@ discard block |
|
|
block discarded – undo |
|
664
|
664
|
|
|
665
|
665
|
Route::resource('managers', 'Api\ManagerApiController')->only([ |
|
666
|
666
|
'show', 'update' |
|
667
|
|
- ])->names([ // Specify custom names because default names collied with existing routes. |
|
|
667
|
+ ])->names([// Specify custom names because default names collied with existing routes. |
|
668
|
668
|
'show' => 'api.managers.show', |
|
669
|
669
|
'update' => 'api.managers.update' |
|
670
|
670
|
]); |
Please login to merge, or discard this patch.