In my root controller, I have this method:

sub end : ActionClass('RenderView') { ... }

I understand that this method is called after the controller for the
request has finished and just before the view is called to render any
output.

My question is: in this 'end' method, how can I determine what the response
status is going to be (i.e. 200, 302, etc.), and if the response is a
redirect how can I get at the redirection location?

Also, what does it mean if $c->stash->{template} is undef at this point?

Thanks,
ER
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to