Merged 5.49_01 (r1339) from refactored branch to trunk
[catagits/Catalyst-Runtime.git] / t / live / lib / TestApp / Controller / Action.pm
CommitLineData
dd4e6fd2 1package TestApp::Controller::Action;
2
3use strict;
4use base 'Catalyst::Base';
5
6sub begin : Private {
7 my ( $self, $c ) = @_;
fbcc39ad 8 $c->res->header( 'X-Test-Class' => ref($self) );
dd4e6fd2 9 $c->response->content_type('text/plain; charset=utf-8');
10}
11
12sub default : Private {
13 my ( $self, $c ) = @_;
14 $c->res->output("Error - TestApp::Controller::Action\n");
15}
16
171;