Try the second one you had:
Router::connect('/:param1/:param2', array('controller' =>
'posts','action' => 'view'));

and then in your controller action, look at $this->params['param1']
and $this->params['param2']

The only problem I see is that it's basically saying that any request
with two parameters like that will go into your posts/view action...
which might stuff up all your normal controller actions?


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