Commit | Line | Data |
32546087 |
1 | package TestAppPathBug::Controller::Root; |
2 | use Moose; |
3 | use namespace::autoclean; |
4 | |
5 | BEGIN { extends 'Catalyst::Controller' }; |
6 | |
7 | __PACKAGE__->config(namespace => ''); |
8 | |
9 | sub foo : Path { |
10 | my ( $self, $c ) = @_; |
11 | $c->res->body( 'This is the foo method.' ); |
12 | } |
13 | |
14 | 1; |