Router::connect('portfolio/:action/*,
array('controller'=>'port_items'));
p.s. it's in the manual ;)
On Oct 31, 2:22 pm, 703designs <[EMAIL PROTECTED]> wrote:
> Router::connect('portfolio/*', array('controller' => 'port_items'));
>
> How do I pass the "*" to PortItemsController::*()? I considered using
> call_user_function on the controller from the index($method) method
> with the "*" as $method, but I'd rather direct the request straight to
> the * method.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---