X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FAction%2FREST.pm;h=e009e4f8ec586c940a27297898d88323393dddaa;hb=cf712a311ffaa04821b17ac82d16fc1bf3c9ac1e;hp=6802f16023fe73121f7c1b42885d826ffd1471c1;hpb=0a6732c935e687213c53f013d925f35083f8c592;p=catagits%2FCatalyst-Action-REST.git diff --git a/lib/Catalyst/Action/REST.pm b/lib/Catalyst/Action/REST.pm index 6802f16..e009e4f 100644 --- a/lib/Catalyst/Action/REST.pm +++ b/lib/Catalyst/Action/REST.pm @@ -10,7 +10,7 @@ use Catalyst::Controller::REST; BEGIN { require 5.008001; } -our $VERSION = '1.05'; +our $VERSION = '1.08'; $VERSION = eval $VERSION; sub BUILDARGS { @@ -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 {