> Two questions:
> 1. What am I doung wrong in the routing to direct all traffic to
> index?
>        Router::connect('/apples/*', array('controller' => 'fruits',
> 'action' => 'index'));

This says, "route all apples to fruits/index". What should work is:

Router::connect('/apples/*', array('controller' => 'fruits');

(I haven't tried it so let me know if that doesn't work)

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

Reply via email to