Skip to content

Commit

Permalink
Merge pull request #226 from f0ntana/fix-namespace
Browse files Browse the repository at this point in the history
Fix namespace path of Controller
  • Loading branch information
gravitano committed Nov 18, 2015
2 parents cc2b4bd + 1597689 commit 02672d7
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 02672d7

Please sign in to comment.