Wednesday, January 25, 2012

Routing, one little doubt

Hi all,
First, thanks for the answers that you have gave me.. They really
helped!

I`m having a trouble, in making a simple route.
What ever is the controller, or action, if there is a /validate_fields
in the end, i want cake to see it like: :controller/validate_fields
ex.:

/someController/someAction/validate_fields would go to someController/
validate_fields
or
/asdasdasd/bbb/validate_fields/asd would go to /asdasdasd/
validate_fields/sad
and,
/anotherc/validate_fields would stay like it is
Basicaly, i need to "skeep" the "action"...
How is that possible?
Thanks

--
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