Back out r11057 which breaks one of the chained tests, whilst not fixing the bug...
[catagits/Catalyst-Runtime.git] / lib / Catalyst / DispatchType / Chained.pm
index 9df62c8..3654a11 100644 (file)
@@ -235,9 +235,7 @@ sub recurse_match {
                     local $c->req->{arguments} = [ @{$c->req->args}, @parts ];
                     next TRY_ACTION unless $action->match($c);
                 }
-
-                # Default args is blank, not 0, since Args()
-                my $args_attr = $action->attributes->{Args}->[0] || '';
+                my $args_attr = $action->attributes->{Args}->[0];
 
                 #    No best action currently
                 # OR This one matches with fewer parts left than the current best action,