projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Flatten captures ready for another round of review
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst.pm
diff --git
a/lib/Catalyst.pm
b/lib/Catalyst.pm
index
ef3d082
..
e10b87c
100644
(file)
--- a/
lib/Catalyst.pm
+++ b/
lib/Catalyst.pm
@@
-1258,6
+1258,7
@@
sub uri_for {
}
if ( blessed($path) ) { # action object
+ $c->dispatcher->splice_captures_from( $c, $path, \@args );
my $captures = [ map { s|/|%2F|; $_; }
( scalar @args && ref $args[0] eq 'ARRAY'
? @{ shift(@args) }