Returned the foo() action to TestAppPathBug.pm so it tests the right bug. Added a...
[catagits/Catalyst-Runtime.git] / t / lib / TestAppPathBug.pm
CommitLineData
2f381252 1use strict;
2use warnings;
3
4package TestAppPathBug;
5
cb88f828 6BEGIN { $SIG{__WARN__} = sub {}; };
7
2f381252 8use Catalyst;
9
10our $VERSION = '0.01';
11
12__PACKAGE__->config( name => 'TestAppPathBug', root => '/some/dir' );
13
14__PACKAGE__->setup;
15
cb88f828 16sub foo : Path {
17 my ( $self, $c ) = @_;
18 $c->res->body( 'This is the foo method.' );
19}
20
2f381252 211;