X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d8d1ab17764e5e0a7af99248cb5047d2af99d534..c07bb0745d1ebc58637f8b46f8615dca03fada2d:/app/controllers/site_controller.rb?ds=sidebyside diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 1845ecfaf..8323ae5e7 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 + @locale = params[:communities_locale] || I18n.locale + @local_chapters = Communities.local_chapters(@locale) end def export; end