Hi all,

I'm trying to make my own routes.

For instance, my default URL is : /blog/posts/view/id. I would like to
route this URL with /blog/read_id.html. Is it possible using a route ?

I try to do this :

Router::connect(
    '/read_:id.html',
    array('controller' => 'posts', 'action' => 'view', 'id' => 'id')
);

But it doesn't work :(

Could you help me ?

Thank !

Cordially,
Neveldo - http://www.neveldo.fr
--~--~---------~--~----~------------~-------~--~----~
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