]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/site_controller.rb
Merge branch 'master' into feature/add-communities-page
[rails.git] / app / controllers / site_controller.rb
index 00b3e78da4c858b7c36e0211106ba1190e69436c..73e4ef51d5ced1dca199062575554ac35308fa80 100644 (file)
@@ -106,6 +106,11 @@ class SiteController < ApplicationController
     @locale = params[:about_locale] || I18n.locale
   end
 
+  def communities
+    @locale = params[:communities_locale] || I18n.locale
+    @local_chapters = Communities.local_chapters
+  end
+
   def export; end
 
   def offline; end