Can you setup a default controller action in the routes?

For instance...
/my-url-here would by default go to homes/view/my-url-here.   It
doesn't find an associated controller so it just defaults to the Homes
Controller View.

But if it finds a controller it does what is normal:
/properties/view/my-url-here would still go to the properties view.

I tried...$Route->connect('/*', array('conroller' => 'homes', 'action'
=> 'display', 'view'));  But that doesn't work.

Can anyone help?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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