add blurb about apache wanting .fcgi on the end of virtual names
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / Action.pm
CommitLineData
734a1e11 1package TestApp::Controller::Action::Action;
2
3use strict;
4use base 'TestApp::Controller::Action';
5
6sub action_action_one : Global : ActionClass('TestBefore') {
7 my ( $self, $c ) = @_;
8 $c->res->header( 'X-Action', $c->stash->{test} );
9 $c->forward('TestApp::View::Dump::Request');
10}
11
12sub action_action_two : Global : ActionClass('TestAfter') {
13 my ( $self, $c ) = @_;
14 $c->stash->{after_message} = 'awesome';
15 $c->forward('TestApp::View::Dump::Request');
16}
17
18sub action_action_three : Global : ActionClass('+TestApp::Action::TestBefore') {
19 my ( $self, $c ) = @_;
20 $c->forward('TestApp::View::Dump::Request');
21}
22
231;