X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/764f808d5a5faebc835ed0f588bae4a306ad687d..83a0ea14f1305cd0a62ee2caeb0142fe077d886c:/app/controllers/site_controller.rb?ds=sidebyside diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index a73d1e2e5..50435ca85 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -107,8 +107,7 @@ class SiteController < ApplicationController end def communities - OsmCommunityIndex::LocalChapter.add_to_i18n # this should be called on app init - @local_chapters = OsmCommunityIndex::LocalChapter.local_chapters + @local_chapters = Community.where(:type => "osm-lc").where.not(:id => "OSMF") end def export; end