Merge pull request #87 from Jonanin/custom_cfg

Sort location_custom_cfg hash to prevent random ordering
This commit is contained in:
James Fryman 2013-07-08 18:44:51 -07:00
commit bf8851ee8b

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 -%>
}