i'm fairly new to cake and now i'm facing a problem with routing.
I would like to route a request like "/tasks/result.php?valid" to "/
tasks/result/valid".
So i was trying the following:
Router::connect("/tasks/result.php?valid", array('controller' =>
'tasks', 'action' => 'result', 'valid'));
Unfortunately that didn't work.
Could anybody tell me, how to correctly route this url?
Thanks in advance.
Sebastian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment