Fix route name generation in CollectionCRUD maker
This commit is contained in:
parent
dc236c1d8d
commit
5e0e5576d1
@ -147,7 +147,8 @@ final class MakeCollectionCrud extends AbstractMaker {
|
||||
$entityTwigVarPlural = Str::asTwigVariable($entityVarPlural);
|
||||
$entityTwigVarSingular = Str::asTwigVariable($entityVarSingular);
|
||||
|
||||
$routeName = Str::asRouteName($controllerClassDetails->getRelativeNameWithoutSuffix());
|
||||
// $routeName = Str::asRouteName($controllerClassDetails->getShortName());
|
||||
$routeName = Str::asTwigVariable($entityVarSingular);
|
||||
$templatesPath = Str::asFilePath($controllerClassDetails->getRelativeNameWithoutSuffix());
|
||||
|
||||
$useStatements = new UseStatementGenerator([
|
||||
|
Loading…
Reference in New Issue
Block a user