projects
/
catagits/Catalyst-Action-Serialize-Data-Serializer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Remove not_implemented from the list of allowed methods
[catagits/Catalyst-Action-Serialize-Data-Serializer.git]
/
lib
/
Catalyst
/
Action
/
REST.pm
diff --git
a/lib/Catalyst/Action/REST.pm
b/lib/Catalyst/Action/REST.pm
index
9c5c86a
..
508d2ff
100644
(file)
--- 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;
};