Commit | Line | Data |
---|---|---|
01b57049 | 1 | package TestApp::Controller::Action::Relative; |
2 | ||
3 | use strict; | |
4 | use base 'TestApp::Controller::Action'; | |
5 | ||
6 | sub relative : Local { | |
7 | my ( $self, $c ) = @_; | |
8 | $c->forward('/action/forward/one'); | |
9 | } | |
10 | ||
11 | sub relative_two : Local { | |
12 | my ( $self, $c ) = @_; | |
13 | $c->forward( 'TestApp::Controller::Action::Forward', 'one' ); | |
14 | } | |
15 | ||
16 | 1; |