change variable name; sort hash keys

This commit is contained in:
Jason Lavoie 2016-07-12 08:50:44 -04:00
parent ad54680dca
commit ebcc72d714

View File

@ -47,8 +47,8 @@ filter <%= map %> <%= filter %>
<% if @ldap_maps.length > 0 -%>
# Custom maps
<% @ldap_maps.each do |map, a| -%>
<% a.each do |attribute, newattribute| -%>
<% @ldap_maps.sort.each do |map, attributes| -%>
<% attributes.sort.each do |attribute, newattribute| -%>
map <%= map %> <%= attribute %> <%= newattribute %>
<% end -%>
<% end -%>