Skip to content

Commit

Permalink
Fix namespace path of Controller
Browse files Browse the repository at this point in the history
he create wrong path to controller namespace
  • Loading branch information
f0ntana committed Nov 16, 2015
1 parent cc2b4bd commit 1597689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Commands/ControllerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected function getTemplateContents()
return (new Stub('/controller.stub', [
'MODULENAME' => $module->getStudlyName(),
'CONTROLLERNAME' => $this->getControllerName(),
'NAMESPACE' => $module->getLowername(),
'NAMESPACE' => $module->getStudlyName(),
'CLASS_NAMESPACE' => $this->getClassNamespace($module),
'CLASS' => $this->getClass(),
'LOWER_NAME' => $module->getLowerName(),
Expand Down

0 comments on commit 1597689

Please sign in to comment.