X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/86912a61df67582b37d0ae5cb6542bc41aa5a41f..c07bb0745d1ebc58637f8b46f8615dca03fada2d:/app/controllers/site_controller.rb?ds=inline diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 2eb084f91..8323ae5e7 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -107,8 +107,8 @@ class SiteController < ApplicationController end def communities - @locale = I18n.locale - @local_chapters = Communities.local_chapters + @locale = params[:communities_locale] || I18n.locale + @local_chapters = Communities.local_chapters(@locale) end def export; end