Commit | Line | Data |
---|---|---|
eb99eb06 | 1 | package ESITest::Controller::Root; |
2 | ||
3 | use strict; | |
4 | use warnings; | |
5 | use parent 'Catalyst::Controller'; | |
6 | ||
7 | __PACKAGE__->config->{namespace} = ''; | |
8 | ||
9 | sub index :Path :Args(0) { | |
10 | my ( $self, $c ) = @_; | |
11 | } | |
12 | ||
13 | sub time_include : Local Args(0) { | |
14 | my ( $self, $c ) = @_; | |
15 | $c->stash->{current_time} = localtime(); | |
16 | } | |
17 | ||
18 | sub end : ActionClass('RenderView') {} | |
19 | ||
20 | 1; |