Sunday, July 15, 2012

Re: Admin / Prefix When Baking

not sure, however you should be able to (basically) copy/paste the actions for admin_ and rename manager_ and editor_  - its not exactly 'dry' though...and I'd assume you are intending on modifying the logic for each anyway.



On Sun, Jul 15, 2012 at 3:45 PM, Advantage+ <movepixels@gmail.com> wrote:

I have 3 different Admin routing defined in core.php

Configure::write('Routing.prefixes', array('admin', 'manager' , 'editor'));

 

so when baking it asks would you like to add the routing in controller 1/2/3 but it only bake's  one set and doing it again will overwrite the original controller, is there a way to bake all views and controller actions for all admin routings at 1 time?

 

Thanks

A+

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate