[Catalyst] HTTP method matching (was Path is "/")

Nick catalyst at acrasis.net
Wed Sep 7 10:23:48 GMT 2011

On 2011-09-06 14:34, Nick wrote:
> Catalyst isn't dispatching how I expected.  A 'Login' controller has

I found the culprit.  My controller uses this


which contains

   # Continue to action if no HTTP methods specified
   $self->$orig( @_ ) and return 0
      if ! $self->attributes->{Methods};

Perhaps that should be

   # Continue to match if no HTTP methods specified
   return $self->$orig( @_ )
      if ! $self->attributes->{Methods};


More information about the Catalyst mailing list