Skip to content

Commit 944f12a

Browse files
authored
make fetch route name better
1 parent bffec76 commit 944f12a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +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::snake($methodName, '.'),
26+
'as' => $segment.'.fetch'.Str::studly($methodName),
2727
'uses' => $controller.'@fetch'.$methodName,
2828
'operation' => 'FetchOperation',
2929
]);

0 commit comments

Comments
 (0)