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