Browse Source

A small fix

development
Godwin 11 years ago
parent
commit
de1ece59a0
  1. 2
      app/views/organizations/index.html.haml

2
app/views/organizations/index.html.haml

@ -8,7 +8,7 @@
- @organizations.sort_by{|k,v|k}.each do |country,territories| - @organizations.sort_by{|k,v|k}.each do |country,territories|
%h2=country %h2=country
- territories.sort_by{|k,v|k}.each do |territory,cities| - territories.sort_by{|k,v|k.to_s}.each do |territory,cities|
- if territory.is_a? String - if territory.is_a? String
%h3=territory %h3=territory
- cities.sort_by{|k,v|k}.each do |city,organizations| - cities.sort_by{|k,v|k}.each do |city,organizations|

Loading…
Cancel
Save