Hi Ryan!

Just take a look into Dispatcher::parseParams() implementation.

In Your app/config/routes.php You can access instance of Router as
$route, url as $from_url and (by dispatcher) not-touched superglobals
$_GET and $_POST.

So: if You're able apply to string some regexp matches, You can access
above mentioned variables in Your routes.php file and change everything
You want - in Your case You have to change content of variable
$from_url from '/conf-1/presentations/view/1' to
'/presentations/view/conf-1/1' in Your app/config/routes.php file. Then
You don't have to specify any route for Your controller, as then will
be dispatched correct automatically.


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

Reply via email to