Commit | Line | Data |
---|---|---|
f9d8e3cf | 1 | package PluginTestApp; |
2 | ||
3 | use strict; | |
4 | use warnings; | |
5 | use Catalyst; | |
6 | ||
7 | our $VERSION = '0.01'; | |
8 | ||
9 | # reuse the other TestApp's home directory, so we have a place to write | |
10 | # the scheduler.state file | |
11 | PluginTestApp->config( | |
12 | name => 'PluginTestApp', | |
13 | home => "$FindBin::Bin/lib/TestApp" | |
14 | ); | |
15 | ||
16 | PluginTestApp->setup( qw/Scheduler PluginTest/ ); | |
17 | ||
18 | sub default : Private { | |
19 | my ( $self, $c ) = @_; | |
20 | ||
21 | $c->res->output( 'default' ); | |
22 | } | |
23 | ||
24 | 1; | |
25 |