10 use base qw/Catalyst Catalyst::Controller/;
13 __PACKAGE__->log(TestLogger->new);
17 my ( $class, $action ) = @_;
19 if ( Scalar::Util::blessed($action)
20 and $action->name ne "foobar" ) {
21 eval { $c->detach( 'foobar', [$action, 'foo'] ) };
24 $c->next::method( @_ );