live serving page in minimal app, plus a new test for that
[catagits/Catalyst-Runtime.git] / t / lib / TestAppSimple / Controller / Root.pm
1 package TestAppSimple::Controller::Root;
2 use base 'Catalyst::Controller';
3 use Scalar::Util ();
4
5 __PACKAGE__->config->{namespace} = '';
6
7 sub index : Private {
8     my ( $self, $c ) = @_;
9     $c->res->body('root index');
10 }
11
12 sub some_action : Local {
13     my ( $self, $c ) = @_;
14     $c->res->body('some_action');
15 }
16
17
18 1;