Sort location_custom-cfg hash to prevent random ordering
This commit is contained in:
parent
d401841279
commit
b3ea7b3170
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