__PACKAGE__->config->{namespace} = '';
-sub index :Path Args(0) {
+sub auto : Private {
my ( $self, $c ) = @_;
+ $c->stash->{'current_view'} = 'TT';
+ return 1;
}
-sub base : Chained('/') PathPart('') CaptureArgs(0) {
- my ( $self, $c ) = @_;
-}
+sub index :Path Args(0) {}
+
+sub base : Chained('/') PathPart('') CaptureArgs(0) {}
sub time_include : Chained('base') PathPart('time') Args(0) {
my ( $self, $c ) = @_;
$c->stash->{template} = 'time_include.tt';
}
+sub http : Chained('base') PathPart('') CaptureArgs(0) {
+ pop->stash->{'current_view'} = 'TTWithHTTP';
+}
+
+sub http_cpan : Chained('http') Args(0) {}
+
+sub http_github : Chained('http') Args(0) {}
+
sub end : ActionClass('RenderView') {}
1;