$this->redirect($this->referer());

greets
Andreas

cakephp_rocks schrieb:
> $this->redirect(array('controller' => 'posts', 'action'  =>
> 'comment'));
>
>
> is there anyway i could put
>
> $this->redirect(posts/comment/ $post['Post']['id'] ));
> whats a good sloution to do that i want my user to  comment and
> redirect back to there post the commented
>
> >
>   

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to