1 package ESITest::Controller::Root;
5 use parent 'Catalyst::Controller';
7 __PACKAGE__->config->{namespace} = '';
9 sub index :Path Args(0) {
10 my ( $self, $c ) = @_;
13 sub base : Chained('/') PathPart('') CaptureArgs(0) {
14 my ( $self, $c ) = @_;
17 sub time_include : Chained('base') PathPart('time') Args(0) {
18 my ( $self, $c ) = @_;
19 $c->stash->{current_time} = localtime();
22 sub end : ActionClass('RenderView') {}