What exctly are you trying to accomplish? Maybe you can try with $this->redirect($this->referer());
2012/8/24 Lucas Simon Rodrigues Magalhaes <lucass...@gmail.com> > I doing it: > > $this->redirect(array('controller'=>'customers','action' => 'view',$id)); > > but do not work. > > Invalid customer > > *Error: * The requested address *'cadastros/admin/customers/view'* was > not found on this server. > > -- > 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. > Visit this group at http://groups.google.com/group/cake-php?hl=en-US. > > > -- *Ivan Rimac*** mail: ivn...@gmail.com *tel: +385 95 555 99 66* *http://ivanrimac.com* -- 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. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.