From de1ece59a02ce3eed818fd9768b4d3052afdd6fe Mon Sep 17 00:00:00 2001 From: Godwin Date: Sun, 6 Jul 2014 19:21:26 -0600 Subject: [PATCH] A small fix --- app/views/organizations/index.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/organizations/index.html.haml b/app/views/organizations/index.html.haml index 9eada8c..714333d 100644 --- a/app/views/organizations/index.html.haml +++ b/app/views/organizations/index.html.haml @@ -8,7 +8,7 @@ - @organizations.sort_by{|k,v|k}.each do |country,territories| %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 %h3=territory - cities.sort_by{|k,v|k}.each do |city,organizations|