Commit | Line | Data |
---|---|---|
4d723d12 | 1 | package TestAppViewWarnings::Controller::Root; |
2 | use strict; | |
3 | use warnings; | |
4 | use base 'Catalyst::Controller'; | |
5 | ||
6 | __PACKAGE__->config->{namespace} = ''; | |
7 | ||
8 | # Return log messages from previous request | |
9 | sub index :Path Args() {} | |
10 | ||
11 | sub 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 | ||
17 | 1; |