$this->redirect('/'.$this->params['controller'].'/action');
On 5/31/06, monty <[EMAIL PROTECTED]> wrote:
after playing around with the redirect function
i figured out that to redirect to a method within the same
controller you put
$this->redirect('ControllerName/methodName');
is there a way to redirect to a method within the same
controller without specifying the controller name?
ie, defaults to the current controller by default.
thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" 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
-~----------~----~----~----~------~----~------~--~---
- Re: redirecting John Zimmerman [gmail]
- Re: redirecting AD7six
- Re: redirecting monty
- Re: redirecting nate
