X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FActionChain.pm;h=6d161045f636a9561efe5d3bff3f8f786e95caf1;hb=264bac8c94a84d7dbac9912946d1a639fa37d1cd;hp=6b08e2b107eded5c2eb8e25dca79b3737453cfa2;hpb=ee1ac3770d375006a96f1fba8308c1294e82e633;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/ActionChain.pm b/lib/Catalyst/ActionChain.pm index 6b08e2b..6d16104 100644 --- a/lib/Catalyst/ActionChain.pm +++ b/lib/Catalyst/ActionChain.pm @@ -53,7 +53,7 @@ sub dispatch { my $last = pop(@chain); foreach my $action ( @chain ) { my @args; - if (my $cap = $action->attributes->{Captures}) { + if (my $cap = $action->attributes->{CaptureArgs}) { @args = splice(@captures, 0, $cap->[0]); } local $c->request->{arguments} = \@args;