I am having a little bit of trouble w/ my reverse routing. In my
routes.php file I have:
Router::connect('/search/*', array('controller' => 'skateparks',
'action' => 'index'));
Then in my view I do something like:
$html->link("Search for Something",array
("controller"=>"skateparks","action"=>"index","q"=>"search+terms"));
I want to get something like:
http://localhost/search/q:search+terms/
but instead I get:
http://localhost/skateparks/index/q:search+terms/
What is it that I am doing wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---