Skip to content

Commit 5e77a05

Browse files
authored
added name to fetch route
1 parent e977d53 commit 5e77a05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/Http/Controllers/Operations/FetchOperation.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ protected function setupFetchOperationRoutes($segment, $routeName, $controller)
2323
if (count($matches[1])) {
2424
foreach ($matches[1] as $methodName) {
2525
Route::post($segment.'/fetch/'.Str::kebab($methodName), [
26+
'as' => $segment.'-fetch-'.Str::kebab($methodName),
2627
'uses' => $controller.'@fetch'.$methodName,
2728
'operation' => 'FetchOperation',
2829
]);

0 commit comments

Comments
 (0)