Create branch register_actions.
[catagits/Catalyst-Runtime.git] / t / lib / Catalyst / Action / TestAfter.pm
CommitLineData
734a1e11 1package Catalyst::Action::TestAfter;
2
3use strict;
4use warnings;
5
6use base qw/Catalyst::Action/;
7
8sub execute {
9 my $self = shift;
10 my ( $controller, $c ) = @_;
ae29b412 11 $self->next::method( @_ );
734a1e11 12 $c->res->header( 'X-Action-After', $c->stash->{after_message} );
13}
14
151;