Skip to content

Commit a47eeda

Browse files
authored
Merge pull request #3123 from iMokhles/patch-8
added name to fetch route
2 parents ec4bf37 + 944f12a commit a47eeda

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::studly($methodName),
2627
'uses' => $controller.'@fetch'.$methodName,
2728
'operation' => 'FetchOperation',
2829
]);

0 commit comments

Comments
 (0)