[Catalyst] redirection hint?

Kevin Old kevinold at gmail.com
Wed Jan 4 20:17:17 CET 2006


Hi Joe,

On 1/4/06, Joe Landman <landman at scalableinformatics.com> wrote:
>    How do I redirect or forward the tail end of the processing over to
> /admin/list and have it display /admin/list ?  Thanks.

Use $c->forward() to do this.

sub doit : Local {
#....
$c->forward('/admin/list');
 }

More info is here:
http://search.cpan.org/~sri/Catalyst-5.61/lib/Catalyst.pm#Processing_and_response_to_the_current_request

Hope this helps,
Kevin
--
Kevin Old
kevinold at gmail.com



More information about the Catalyst mailing list