Don't run the moose controller test if Moose isn't available
[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';
12 $self->NEXT::execute( @_ );
13}
14
151;