Skip to content

Commit 2266f6a

Browse files
committed
Update ScaffoldController.php
1 parent 8ab25c4 commit 2266f6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ubiquity/scaffolding/ScaffoldController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public function _newAction($controller, $action, $parameters = null, $content =
223223

224224
private function generateRouteName(string $controllerName,string $action){
225225
$ctrl=\str_ireplace('controller','',$controllerName);
226-
return \ucfirst($ctrl) . '.' . $action;
226+
return \lcfirst($ctrl) . '.' . $action;
227227
}
228228

229229
protected function generateRouteAnnotation($routeInfo,$controllerName,$action) {

0 commit comments

Comments
 (0)