Sort location_custom-cfg hash to prevent random ordering

This commit is contained in:
Jon Morton 2013-07-08 20:10:11 -05:00
parent d401841279
commit b3ea7b3170

View file

@ -1,5 +1,5 @@
location <%= location %> {
<% location_custom_cfg.each do |key,value| -%>
<% location_custom_cfg.sort_by {|k,v| k}.each do |key,value| -%>
<%= key %> <%= value %>;
<% end -%>
}