Remove not_implemented from the list of allowed methods
[catagits/Catalyst-Action-REST.git] / lib / Catalyst / Action / REST.pm
index 9c5c86a..508d2ff 100644 (file)
@@ -157,6 +157,7 @@ sub get_allowed_methods {
         @{ Class::Inspector->methods($class) }
     };
     $methods->{'HEAD'} = 1 if $methods->{'GET'};
+    delete $methods->{'not_implemented'};
     return keys %$methods;
 };