X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-View-Component-SubInclude.git;a=blobdiff_plain;f=t%2Flib%2FESITest%2FController%2FRoot.pm;fp=t%2Flib%2FESITest%2FController%2FRoot.pm;h=79a20c3d6afcb93f08418b832feb1033fb0d6522;hp=43881bfa230a6e76e50a654fd61b898570038942;hb=48509210d9f173bf1943b826dcffdcc413af5f26;hpb=7b1b8afddeb5ad9dd89dd782bb43f2093992f5e7 diff --git a/t/lib/ESITest/Controller/Root.pm b/t/lib/ESITest/Controller/Root.pm index 43881bf..79a20c3 100644 --- a/t/lib/ESITest/Controller/Root.pm +++ b/t/lib/ESITest/Controller/Root.pm @@ -6,12 +6,6 @@ use base 'Catalyst::Controller'; __PACKAGE__->config->{namespace} = ''; -sub auto : Private { - my ( $self, $c ) = @_; - $c->stash->{'current_view'} = 'TT'; - return 1; -} - sub index :Path Args(0) {} sub base : Chained('/') PathPart('') CaptureArgs(0) {} @@ -108,13 +102,9 @@ sub time_args_no_chained : Path('time_args_no_chained') Args { $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_cpan : Chained('base') Args(0) {} -sub http_github : Chained('http') Args(0) {} +sub http_github : Chained('base') Args(0) {} sub end : ActionClass('RenderView') {}