Singular controller name route
Has anyone seen or achieved routing whereby all controller view
actions can be accessed via the singular name of the controller?
e.g. /pages/view/1 can be accessed by page/1; posts/view/1 by post/1;
etc
I know route classes are possible, I know it's possible to use the
inflector, but I haven't been able to work out how to put it all
together, so that it works for any controller (named following the
conventions) you throw at it. Has anyone done this already?
--
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