From ad5b3b4f5b77f710571b80356939803a2ebc7ea0 Mon Sep 17 00:00:00 2001 From: Jesus Manuel Olivas Date: Tue, 15 Nov 2016 09:50:21 -0800 Subject: [PATCH] [generate:controller] Fix class name on controller generation. (#2948) --- src/Generator/ControllerGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Generator/ControllerGenerator.php b/src/Generator/ControllerGenerator.php index 3c925ba05..9ebb2c476 100644 --- a/src/Generator/ControllerGenerator.php +++ b/src/Generator/ControllerGenerator.php @@ -37,7 +37,7 @@ public function generate($module, $class, $routes, $test, $services) $this->renderFile( 'module/src/Controller/controller.php.twig', - $this->extensionManager->getModule($module)->getControllerPath().'/'.$class.'Controller.php', + $this->extensionManager->getModule($module)->getControllerPath().'/'.$class.'.php', $parameters );