Yes they will be modified / removed for each where needed. But with 60 controllers that a lot of copy and paste. Just curious if there was a do all at once to save time.
Easier to remove them where not needed rather than copy and paste for each J Thanks all the same. Dave From: [email protected] [mailto:[email protected]] On Behalf Of Greg Skerman Sent: Sunday, July 15, 2012 9:13 PM To: [email protected] Subject: 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+ <[email protected]> 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 [email protected] <mailto:cake-php%[email protected]> 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 [email protected] 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
