I'm trying to create a controller inside a module using the Zend_Tool doing this:
$ zf create module admin
$ zf create controller login admin
With the first command it creates de module hierarchy, but in the second command it creates the controller and view into the default namespace.
Is it something that I'm doing wrong?
Thanks.
H.C.
zf create module admin zf create controller login index-action-included[=1] admin
But i think you have to change the class name for the logincontroller manualy to admin_logincontroller.
zf create controller <controllername> 1 <modulename>
zf create controller <controllername> -m <modulename>
zf create controller <controllername> --module=<modulename>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With