fixed warnings in tests
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / Forward.pm
CommitLineData
dd4e6fd2 1package TestApp::Controller::Action::Forward;
2
3use strict;
4use base 'TestApp::Controller::Action';
5
6sub one : Relative {
7 my ( $self, $c ) = @_;
8 $c->forward('two');
9}
10
11sub two : Private {
12 my ( $self, $c ) = @_;
13 $c->forward('three');
14}
15
16sub three : Relative {
17 my ( $self, $c ) = @_;
18 $c->forward('four');
19}
20
21sub four : Private {
22 my ( $self, $c ) = @_;
23 $c->forward('five');
24}
25
26sub five : Relative {
27 my ( $self, $c ) = @_;
28 $c->forward('TestApp::View::Dump::Request');
29}
30
31sub jojo : Relative {
32 my ( $self, $c ) = @_;
33 $c->forward('one');
34 $c->forward('three');
35}
36
c462faf0 37
38sub inheritance : Relative {
39 my ( $self, $c ) = @_;
40 $c->forward('engine/response/cookies/one');
41 $c->forward('five');
42}
43
dd4e6fd2 441;