|
@@ -606,7 +606,7 @@ discard block |
|
|
block discarded – undo |
|
606
|
606
|
->name('api.jobs.submit'); |
|
607
|
607
|
Route::resource('jobs', 'Api\JobApiController')->only([ |
|
608
|
608
|
'show', 'store', 'update' |
|
609
|
|
- ])->names([ // Specify custom names because default names collied with existing routes. |
|
|
609
|
+ ])->names([// Specify custom names because default names collied with existing routes. |
|
610
|
610
|
'show' => 'api.jobs.show', |
|
611
|
611
|
'store' => 'api.jobs.store', |
|
612
|
612
|
'update' => 'api.jobs.update' |
|
@@ -614,7 +614,7 @@ discard block |
|
|
block discarded – undo |
|
614
|
614
|
|
|
615
|
615
|
Route::resource('managers', 'Api\ManagerApiController')->only([ |
|
616
|
616
|
'show', 'update' |
|
617
|
|
- ])->names([ // Specify custom names because default names collied with existing routes. |
|
|
617
|
+ ])->names([// Specify custom names because default names collied with existing routes. |
|
618
|
618
|
'show' => 'api.managers.show', |
|
619
|
619
|
'update' => 'api.managers.update' |
|
620
|
620
|
]); |
Please login to merge, or discard this patch.