Just do this in your routes.php
Router::($Router->)connect('/pizza/orders/:action/*', array('plugin'
=> 'pizza', 'controller' => 'PizzaOrders'));
In the parathesis is for Cake 1.x, Router:: for Cake 1.2
Regards,
-Erik
On May 12, 12:05 pm, "Jonathan Snook" <[EMAIL PROTECTED]>
wrote:
> > I'll go with your suggestion for now and also do a little poking
> > around in the router to see if I can make sense of it.
>
> Oh, were you hoping for something automatic such that every plugin
> request would automatically look for a controller with the plugin name
> attached? (in obvious hopes to avoid class name clashes.) That's an
> interesting thought and maybe one that should be presented to the core
> devs to consider (if it isn't already in the core, which I don't think
> it is).
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---