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=cad0fe818bf177ad863b860a446cc67eaa33f783;hp=6802f16023fe73121f7c1b42885d826ffd1471c1;hb=04f96b73abc2c408dde3d363a80f0bd112155b88;hpb=0a6732c935e687213c53f013d925f35083f8c592 diff --git a/lib/Catalyst/Action/REST.pm b/lib/Catalyst/Action/REST.pm index 6802f16..cad0fe8 100644 --- 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 {