In 1.3, how hard is it to route a controller action to
/slug/child-slug/grandchild-slug and keep other, automatic routing in
place? Do you still need to explicitly route all other controllers and
their actions?
I've done:
Router::connect('/articles/:action',
array('controller'=>'articles'),
array('action' => 'admin_add|admin_edit|admin_index|admin_delete|admin_status')
);
previously, but would be even better if I could do the above but skip
all the method names.
Cheers,
J
--
jon bennett - www.jben.net - blog.jben.net
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
No comments:
Post a Comment