Thursday, December 4, 2014

Re: In CakePHP 3, how do I bake admin controller?

No need to move anything
Just use bake correctly as documented:

    cake bake ... --prefix admin


That will create it in the right places.


Am Donnerstag, 4. Dezember 2014 17:38:46 UTC+1 schrieb cesar calvo:
After bake just move Templates and Controllers to Admin directory and adjust the Controller namespace

El jueves, 4 de diciembre de 2014 14:03:02 UTC-2, frocco escribió:
Thanks,

But when I use bake, will it generate the controller under admin?


On Wednesday, December 3, 2014 10:55:20 AM UTC-5, frocco wrote:
I want to create admin controller with view

Thanks

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: