X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FDispatchType%2FChained.pm;h=02f4c21278fe9e1f691876e94debe1ac36754ec3;hp=0274dba9e3b4de748d99a0e7038c1a2a67944eee;hb=a8194217f338ccef382b194b4a849fde15892f98;hpb=a97601e0468f57ffe332dd855d55ef67fc0a4417 diff --git a/lib/Catalyst/DispatchType/Chained.pm b/lib/Catalyst/DispatchType/Chained.pm index 0274dba..02f4c21 100644 --- a/lib/Catalyst/DispatchType/Chained.pm +++ b/lib/Catalyst/DispatchType/Chained.pm @@ -181,7 +181,7 @@ sub recurse_match { if (!$best_action || @parts < @{$best_action->{parts}} || - (!@parts && $args_attr == 0)){ + (!@parts && $args_attr eq 0)){ $best_action = { actions => [ $action ], captures=> [],