On Wed, May 21, 2008 at 12:49 AM, Travis <[EMAIL PROTECTED]> wrote:
>
> Yes, I would like to display the data differently depending on the
> attributes passed in.
Then set up three different routes for it, each pointing to its own action
Router::connect('/:controller/:year/:month/:day', array('action' => 'byday'));
Router::connect('/:controller/:year/:month', array('action' => 'bymonth'));
Router::connect('/:controller/:year', array('action' => 'byyear));
-Jonathan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---