Thanks to everyone who helped me with my routing question.
1 last thing. I have
Router::connect('/agents/:agent_slug',array('controller' => 'agents',
'action' => 'profile'),array('agent_slug' => '[-_A-Za-z]+','pass' =>
array('agent_slug')));
so that gives me http:site/agents/slug
but i have url i can not access now http:site/agents/register
i tried Router::connect('/agents/register', array('controller' => 'agents',
'action' => 'register')); but still no go.
Any ideas how I can define routes that i know are there
Dave
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---