> From: [email protected] > 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.
Brilliant, thanks! I've confirmed that all I need to do is manipulate the variable $from_url in routes.php, and everything gets wired correctly. I think I will also need to use relative URLs in my views, but I think I can sort that out. Thanks again! -- Ryan Ginstrom --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
