projects
/
catagits/Catalyst-Action-REST.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Sort list of allowed methods. RT#81825
[catagits/Catalyst-Action-REST.git]
/
lib
/
Catalyst
/
Action
/
REST.pm
diff --git
a/lib/Catalyst/Action/REST.pm
b/lib/Catalyst/Action/REST.pm
index
6802f16
..
cad0fe8
100644
(file)
--- a/
lib/Catalyst/Action/REST.pm
+++ b/
lib/Catalyst/Action/REST.pm
@@
-158,7
+158,7
@@
sub get_allowed_methods {
};
$methods->{'HEAD'} = 1 if $methods->{'GET'};
delete $methods->{'not_implemented'};
- return keys %$methods;
+ return sort keys %$methods;
};
sub _return_options {