[Catalyst] Has $c->response->redirect behaviour changed?

Daniel Westermann-Clark daniel at acceleration.net
Mon Jan 23 20:27:47 CET 2006


On 2006-01-23 19:07:11 +0000, Alex Kavanagh wrote:
> Overload process to not do the template if we are doing a redirect.
> 
> It works, but is the right way to do it?  Should I be doing
> something else?

You can do it that way, but the "recommended" way is to use
Catalyst::Plugin::DefaultEnd.

http://catalyst.perl.org/calendar/2005/8

Or, if you like complete control over your end method, you can add a
similar check for status 3xx.

-- 
Daniel Westermann-Clark



More information about the Catalyst mailing list