improved docs for action_namespace and path_prefix and made path configurable
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / TestRelative.pm
CommitLineData
1b1636b5 1package TestApp::Controller::Action::TestRelative;
01b57049 2
3use strict;
4use base 'TestApp::Controller::Action';
5
1b1636b5 6__PACKAGE__->config(
7 path => 'action/relative'
8);
9
01b57049 10sub relative : Local {
11 my ( $self, $c ) = @_;
12 $c->forward('/action/forward/one');
13}
14
15sub relative_two : Local {
16 my ( $self, $c ) = @_;
17 $c->forward( 'TestApp::Controller::Action::Forward', 'one' );
18}
19
201;