Yes thats how you would do it.

Router::connect('/user/:slug/resume/*',
        array('controller' => 'profile', 'action' => 'resume'),
        array('pass' => array('slug'), 'slug' => '[a-zA-Z0-9_-]+')
);

And your html link would be:

$html->link('user', array('controller' => 'profile', 'action' =>
'resume', 'slug' => $slug));
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

  • URL question Dave Maharaj :: WidePixels.com
    • Re: URL question Miles J

Reply via email to