X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Action-REST.git;a=blobdiff_plain;f=lib%2FCatalyst%2FAction%2FREST.pm;h=508d2ff47655aafec7486cc9bd144a945fbf9c80;hp=9c5c86a770ba7ecbedc7e7565f45af70de4d9465;hb=258f6e7c203bb2a0a29d2eccd0f1f029a13275b9;hpb=a08d447bc7896570e721648271c819bd5c438541 diff --git a/lib/Catalyst/Action/REST.pm b/lib/Catalyst/Action/REST.pm index 9c5c86a..508d2ff 100644 --- a/lib/Catalyst/Action/REST.pm +++ b/lib/Catalyst/Action/REST.pm @@ -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; };