|
@@ -684,7 +684,7 @@ discard block |
|
|
block discarded – undo |
|
684
|
684
|
->name('api.jobs.submit'); |
|
685
|
685
|
Route::resource('jobs', 'Api\JobController')->only([ |
|
686
|
686
|
'show', 'store', 'update', 'index' |
|
687
|
|
- ])->names([ // Specify custom names because default names collied with existing routes. |
|
|
687
|
+ ])->names([// Specify custom names because default names collied with existing routes. |
|
688
|
688
|
'show' => 'api.jobs.show', |
|
689
|
689
|
'store' => 'api.jobs.store', |
|
690
|
690
|
'update' => 'api.jobs.update', |
|
@@ -697,7 +697,7 @@ discard block |
|
|
block discarded – undo |
|
697
|
697
|
|
|
698
|
698
|
Route::resource('managers', 'Api\ManagerController')->only([ |
|
699
|
699
|
'show', 'update' |
|
700
|
|
- ])->names([ // Specify custom names because default names collied with existing routes. |
|
|
700
|
+ ])->names([// Specify custom names because default names collied with existing routes. |
|
701
|
701
|
'show' => 'api.managers.show', |
|
702
|
702
|
'update' => 'api.managers.update' |
|
703
|
703
|
]); |
Please login to merge, or discard this patch.