The following seems to force whatever action I'm currently using into
the url returned by Router::url.
Router::connect('/:group/:controller/:action/*',
array('action'=>null), array('controller' => 'curriculum|courses|
facilitators|configuration'));
I thought array('action'=>null) would make the action optional?
If I change it to:
Router::connect('/:group/:controller/:action/*',
array('action'=>'index'), array('controller' => 'curriculum|courses|
facilitators|configuration'));
... it, as expected, defaults the action to 'index'. But here's the
thing: I'd only like the action to be visible in the url when it's
*not* 'index'. Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---