tests for the config( ...->{file} ) option. addresses bug when ->{file} is a dir...
[catagits/Catalyst-Plugin-ConfigLoader.git] / t / lib / TestApp2 / Controller / Root.pm
1 package TestApp2::Controller::Root;
2
3 use strict;
4 use warnings;
5
6 use base 'Catalyst::Controller';
7
8 __PACKAGE__->config->{namespace} = '';
9
10 sub default :Path {
11     my ( $self, $c ) = @_;
12     $c->response->body( 'Page not found' );
13     $c->response->status(404);
14 }
15
16 1;