Hi
I try to write real friendly urls code which maps url to action to
render.
e.g.
www.domain.com/about
renders
www.domain.com/contents/view/1
I have table (id, link, action), model and controller (scaffolded).
I wrote in app_controller beforeFilter method
$link=$this->Friendlylink->findAll(array('link'=>$this->here));
but cake thing that every word after domain address is a controller and
reuturn error.
How to write method which could be run before controller generation
without dispacher hacking?
Thanks
Jacek
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---