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