X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flib%2FTestApp%2FController%2FAction%2FChained.pm;h=dba0d5d332fe4bfe260592c28e0e523378566fa5;hp=9e6a93fa3444bd9fba7edfdfee0a5dfa5dd5bc67;hb=81e75875ca7cea9004783a0c142040081da630d8;hpb=8b13f357b71297872a61f142ae62c2e60fda304d diff --git a/t/lib/TestApp/Controller/Action/Chained.pm b/t/lib/TestApp/Controller/Action/Chained.pm index 9e6a93f..dba0d5d 100644 --- a/t/lib/TestApp/Controller/Action/Chained.pm +++ b/t/lib/TestApp/Controller/Action/Chained.pm @@ -153,6 +153,7 @@ sub empty_chain_f : Chained('empty_chain_e') PathPart('') Args(1) sub end :Private { my ($self, $c) = @_; + return if $c->stash->{no_end}; my $out = join('; ', map { join(', ', @$_) } ($c->req->captures, $c->req->args)); $c->res->body($out);