I have used the wizard component (the one found at the bakery) a little and I don't think is supports routes like that out of the box.
You might be able to trick it (but probably not) by dynamically setting "$this->Wizard->wizardAction" to the desired path. I have stored data in the session at the entry-point, chosen some decent-looking action name and then let the wizard do it's thing. On Jun 10, 5:01 am, "Dave Maharaj :: WidePixels.com" <d...@widepixels.com> wrote: > Having a go at the Wizard component...only issue I have is routing it. The > routes they have defined will not work in my setup. > > They have > Router::connect('/signup', array('controller' => 'signup', 'action' => > 'wizard')); > > I need to modify that into: > Router::connect('employers/:employer_slug/signup',array('controller' => > 'jobs', 'action' => 'wizard'),array('steps' => '[-_A-Za-z]+','pass' => > array('signup'))); > > when i go to the url /employers/maryjane/signup i get redirected to > jobs/wizard/account > > How can I keep employers/:employer_slug/ in the url? > > Thanks, > > Dave --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---