Jifty::Action::Redirect3pm
Redirect the browser
Usage
Jifty->web->new_action(class => 'Redirect',arguments => {url => '/my/other/page',},)->run;
Overview
Given a URL, this action forces Jifty to perform a redirect to that URL after processing the rest of the request.
Methods
new
By default, redirect actions happen as late as possible in the run order. Defaults the "order" in Jifty::Action to be 100 so it runs later than most actions.
arguments
The only argument to redirect is the "url" to redirect to.
take_action
If the other actions in the request have been a success so far, redirects to the provided "url". The redirect preserves all of the Jifty::Results for this action, in case the destination page wishes to inspect them.
Releases
2 releases since Debian 6.0 (Squeeze); the text changed 1 time.