Captures -> CapureArgs
[catagits/Catalyst-Runtime.git] / lib / Catalyst / ActionChain.pm
index 6b08e2b..6d16104 100644 (file)
@@ -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;