X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d8d1ab17764e5e0a7af99248cb5047d2af99d534..764f808d5a5faebc835ed0f588bae4a306ad687d:/app/controllers/site_controller.rb diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 1845ecfaf..a73d1e2e5 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -107,7 +107,8 @@ class SiteController < ApplicationController end def communities - @locale = I18n.locale + OsmCommunityIndex::LocalChapter.add_to_i18n # this should be called on app init + @local_chapters = OsmCommunityIndex::LocalChapter.local_chapters end def export; end