]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/site_controller.rb
Switch to using FrozenRecord for loading communities
[rails.git] / app / controllers / site_controller.rb
index 1845ecfaf3071d16323033d90891d987f41a8995..50435ca85d5181d87fd7415a1a7a93562122636c 100644 (file)
@@ -107,7 +107,7 @@ class SiteController < ApplicationController
   end
 
   def communities
-    @locale = I18n.locale
+    @local_chapters = Community.where(:type => "osm-lc").where.not(:id => "OSMF")
   end
 
   def export; end