Saturday, April 4, 2009

Controller default method

A fairly simple question I'm sure, but I can't seem to find it
anywhere online... Is there a name you can give an action in a
controller that will make it act as a catch-all actions for any
undefined actions for that controller?

I have found a way around this by defining the defaults in the
routes.php file, but would prefer to have this functionality kept
within the controller.

Thanks,

Toby
--~--~---------~--~----~------------~-------~--~----~
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: