X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FAction.pm;h=913e0de9ab2e4a1a1f910ac7eefa0976338ab71f;hp=6081f227708ace80cc458ceec1c1f5a01e43b2e4;hb=5d198e3f95611ce91aef8c400db4c73cbc471d7c;hpb=6f0b85d2a35e5b4872bf508d859fae3621d81406 diff --git a/lib/Catalyst/Action.pm b/lib/Catalyst/Action.pm index 6081f22..913e0de 100644 --- a/lib/Catalyst/Action.pm +++ b/lib/Catalyst/Action.pm @@ -140,14 +140,13 @@ sub execute { sub match { my ( $self, $c ) = @_; - $c->log->debug($self->reverse); # If infinite args, we always match return 1 if $self->normalized_arg_number == ~0; # There there are arg constraints, we must see to it that the constraints # check positive for each arg in the list. - if(0 && $self->has_args_constraints) { + if($self->has_args_constraints) { # If there is only one type constraint, and its a Ref or subtype of Ref, # That means we expect a reference, so use the full args arrayref. if(