Switched to Module::Install
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / Auto / Abort.pm
CommitLineData
e1bf532b 1package TestApp::Controller::Action::Auto::Abort;
2
3use strict;
4use base 'TestApp::Controller::Action';
5
6sub auto : Private {
7 my ( $self, $c ) = @_;
8 return 0;
9}
10
11sub default : Private {
12 my ( $self, $c ) = @_;
13 $c->res->body( 'abort default' );
14}
15
16sub end : Private {
17 my ( $self, $c ) = @_;
18 $c->res->body( 'abort end' ) unless $c->res->body;
19}
20
21sub one : Local {
22 my ( $self, $c ) = @_;
23 $c->res->body( 'abort one' );
24}
25
261;