Commit | Line | Data |
---|---|---|
91955398 | 1 | package TestAppIndexDefault::Controller::Root; |
05b47f2e | 2 | |
3 | use base 'Catalyst::Controller'; | |
4 | ||
91955398 | 5 | __PACKAGE__->config->{namespace} = ''; |
6 | ||
05b47f2e | 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; |