Unicode plugin - remove additional config setting
[catagits/Catalyst-Runtime.git] / t / lib / ACLTestApp.pm
CommitLineData
b3986722 1package ACLTestApp;
2use Test::More;
3
4use strict;
5use warnings;
6use MRO::Compat;
7use Scalar::Util ();
8
9use base qw/Catalyst Catalyst::Controller/;
10use Catalyst qw//;
11
12sub execute {
13 my $c = shift;
14 my ( $class, $action ) = @_;
15
16 if ( Scalar::Util::blessed($action)
17 and $action->name ne "foobar" ) {
18 eval { $c->detach( 'foobar', [$action, 'foo'] ) };
19 }
20
21 $c->next::method( @_ );
22}
23
24__PACKAGE__->setup;
25
261;