X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FAction%2FREST.pm;h=9f866a129dcd10df71b99f321aa5a99576760ca7;hb=47c3e6b3694ea55015f839be8f1a10e4141e6e4a;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..9f866a1 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.12'; $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 {