We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e43454 commit b9836c4Copy full SHA for b9836c4
src/Generator/ApiControllerMakeCommand.php
@@ -158,7 +158,7 @@ protected function addRoutes()
158
$name = $this->qualifyClass($this->getNameInput());
159
160
$replacements = [
161
- '{{route.name}}' => strtolower(Str::plural($this->customClasses['rawName'])),
+ '{{route.name}}' => strtolower(Str::plural($this->option('model'))),
162
'{{route.controller}}' => '\\'.$name.'::class',
163
];
164
0 commit comments