minor changes
[catagits/Catalyst-Runtime.git] / t / lib / TestAppIndexDefault / Controller / Root.pm
1 package TestAppIndexDefault::Controller::Root;
2
3 use base 'Catalyst::Controller';
4
5 __PACKAGE__->config->{namespace} = '';
6
7 sub default : Private {
8     my ($self, $c) = @_;
9     $c->res->body('default');
10 }
11
12 sub path_one_arg : Path('/') Args(1) {
13     my ($self, $c) = @_;
14     $c->res->body('path_one_arg');
15 }
16
17 1;