there is a symfony directive called $this->redirect('module/page')...google
it up and check out the parameters that go in...On Fri, Nov 20, 2009 at 7:20 AM, tirengarfio <[email protected]> wrote: > Hi, > > i have created a module (generate-module) in base of Message model. > When i execute message/new and then i push the "Save" button the app > redirects me to the message/edit page. > > I have opened actions.class.php and i have checked the createSuccess() > function. I expected to find a redirection to the Edit action but i > have just found this: > > $this->forward404Unless($request->isMethod('post')); > > $this->form = new MensajeForm(); > > $this->processForm($request, $this->form); > > $this->setTemplate('new'); > > Where can i change the redirection? > > Bye > > Javi > > -- > > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<symfony-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=. > > > -- You received this message because you are subscribed to the Google Groups "symfony users" 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/symfony-users?hl=.
