Merge pull request #87 from Jonanin/custom_cfg
Sort location_custom_cfg hash to prevent random ordering
This commit is contained in:
commit
bf8851ee8b
1 changed files with 1 additions and 1 deletions
|
@ -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 -%>
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue