I found the solution here:
http://bakery.cakephp.org/articles/view/custom-urls-from-the-site-root

On Aug 10, 1:27 am, Geoff Ford <[EMAIL PROTECTED]> wrote:
> Conventionally no - index is the default action. Rename your default
> actions to index.
>
> Technically - you could fiddle with $this->params['action'] in
> AppController::beforeFilter() but this is messy, and feels like a hack
>
> Geoff
> --http://lemoncake.wordpress.com
>
> On Aug 10, 1:30 pm, 1Marc <[EMAIL PROTECTED]> wrote:
>
> > In the routes, can you setup a default action for your app?
>
> > For example:
>
> > /my-url-here ... runs the default controller view  (houses view being
> > the default so it would act like ... houses/view/my-url-here)
>
> > /properties/view/my-url-here ... would still run the properties
> > controller view


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

Reply via email to