Merge branch 'master' into psgi
[catagits/Catalyst-Runtime.git] / t / lib / TestAppViewWarnings / Controller / Root.pm
CommitLineData
9c74923d 1package TestAppViewWarnings::Controller::Root;
2use strict;
3use warnings;
4use base 'Catalyst::Controller';
5
6__PACKAGE__->config->{namespace} = '';
7
8# Return log messages from previous request
9sub index :Path Args() {}
10
11sub end : Action {
12 my ($self, $c) = @_;
13 $c->view; # Cause view lookup and ergo warning we are testing.
14 $c->res->body('foo');
15}
16
171;