Refreshing branch
[catagits/Catalyst-Runtime.git] / trunk / t / lib / TestAppPathBug.pm
CommitLineData
ceae39c5 1use strict;
2use warnings;
3
4package TestAppPathBug;
5use strict;
6use warnings;
7use Catalyst;
8
9our $VERSION = '0.01';
10
11__PACKAGE__->config( name => 'TestAppPathBug', root => '/some/dir' );
12
13__PACKAGE__->log(TestAppPathBug::Log->new);
14__PACKAGE__->setup;
15
16sub foo : Path {
17 my ( $self, $c ) = @_;
18 $c->res->body( 'This is the foo method.' );
19}
20
21package TestAppPathBug::Log;
22use strict;
23use warnings;
24use base qw/Catalyst::Log/;
25
26sub warn {}
27
281;