X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/26aecfb2bf75c68ab7e396011662bf6c55057f77..87bb2a717d59b58054cf743b7aadc116f788da69:/app/controllers/site_controller.rb diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 73e4ef51d..50435ca85 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -107,8 +107,7 @@ class SiteController < ApplicationController end def communities - @locale = params[:communities_locale] || I18n.locale - @local_chapters = Communities.local_chapters + @local_chapters = Community.where(:type => "osm-lc").where.not(:id => "OSMF") end def export; end