Add Visit Plugin, fix SubRequest plugin bump version to 0.02
[catagits/Catalyst-View-Component-SubInclude.git] / t / ESITest / lib / ESITest / Controller / Root.pm
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 base : Chained('/') PathPart('') CaptureArgs(0) {
14     my ( $self, $c ) = @_;
15 }
16
17 sub time_include : Chained('base') PathPart('time') Args(0) {
18     my ( $self, $c ) = @_;
19     $c->stash->{current_time} = localtime();
20 }
21
22 sub end : ActionClass('RenderView') {}
23
24 1;