From: Ash Berlin Date: Wed, 21 Feb 2007 17:53:13 +0000 (+0000) Subject: Add lets add the new file shall we X-Git-Tag: 5.7099_04~246 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=e7c6f3d1e21396e78a9e7e7340b79026419a2e42 Add lets add the new file shall we --- diff --git a/t/lib/TestApp/Action/TestMyAction.pm b/t/lib/TestApp/Action/TestMyAction.pm new file mode 100644 index 0000000..66bcdf9 --- /dev/null +++ b/t/lib/TestApp/Action/TestMyAction.pm @@ -0,0 +1,16 @@ +package TestApp::Action::TestMyAction; + +use strict; +use warnings; + +use base qw/Catalyst::Action/; + +sub execute { + my $self = shift; + my ( $controller, $c, $test ) = @_; + $c->res->header( 'X-TestAppActionTestMyAction', 'MyAction works' ); + $self->NEXT::execute(@_); +} + +1; +