Commit | Line | Data |
---|---|---|
8a28782a | 1 | package # Hide from PAUSE |
2 | TestApp::Controller::Root; | |
e2e866b4 | 3 | use strict; |
4 | use warnings; | |
5 | ||
6 | __PACKAGE__->config(namespace => q{}); | |
7 | ||
8 | use base 'Catalyst::Controller'; | |
9 | ||
10 | sub main :Path { } | |
11 | ||
12 | sub nothtml :Local { | |
13 | my ($self, $c) = @_; | |
14 | $c->res->content_type('application/json'); | |
15 | } | |
16 | ||
17 | sub end : ActionClass('RenderView') {} | |
18 | ||
19 | 1; |