uri_for fixup (with thanks to phaylon)
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / Chained.pm
index 9e6a93f..dba0d5d 100644 (file)
@@ -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);