totally forgot to check if captureargs are decoded, and they already are
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / Chained.pm
index 051961c..64de556 100644 (file)
@@ -197,7 +197,8 @@ sub view : Chained('/') PathPart('chained') CaptureArgs(1) {}
 sub star_search : Chained('view') PathPart('search') Args(0) { }
 sub doc_star : Chained('/') PathPart('chained/doc') Args(1) {}
 
-sub return_arg : Chained('/') PathPart('chained/return_arg') Args(1) {}
+sub return_arg : Chained('view') PathPart('return_arg') Args(1) {}
+
 sub return_arg_decoded : Chained('/') PathPart('chained/return_arg_decoded') Args(1) {
     my ($self, $c) = @_;
     $c->req->args([ map { decode_entities($_) } @{ $c->req->args }]);