$this->redirect(array('controller' => 'posts', 'action' =>
'comment', $post['Post']['id']));
On Jun 4, 2:29 pm, Andreas Derksen <[email protected]> wrote:
> $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 [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
-~----------~----~----~----~------~----~------~--~---