Add Visit Plugin, fix SubRequest plugin bump version to 0.02
[catagits/Catalyst-View-Component-SubInclude.git] / t / ESITest / lib / ESITest / Controller / Root.pm
CommitLineData
eb99eb06 1package ESITest::Controller::Root;
2
3use strict;
4use warnings;
5use parent 'Catalyst::Controller';
6
7__PACKAGE__->config->{namespace} = '';
8
6cb4b001 9sub index :Path Args(0) {
eb99eb06 10 my ( $self, $c ) = @_;
11}
12
6cb4b001 13sub base : Chained('/') PathPart('') CaptureArgs(0) {
14 my ( $self, $c ) = @_;
15}
16
17sub time_include : Chained('base') PathPart('time') Args(0) {
eb99eb06 18 my ( $self, $c ) = @_;
19 $c->stash->{current_time} = localtime();
20}
21
22sub end : ActionClass('RenderView') {}
23
241;