]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/application_helper.rb
Add unsubscribe link to changeset notification mails
[rails.git] / app / helpers / application_helper.rb
index 4932bcc5ea2160995519d0aa14d0187ebf371901..17c36bdfe043066b81c518c9602546f3013af212 100644 (file)
@@ -48,7 +48,8 @@ module ApplicationHelper
   def application_data
     data = {
       :locale => I18n.locale,
-      :preferred_editor => preferred_editor
+      :preferred_editor => preferred_editor,
+      :preferred_languages => preferred_languages.expand.map(&:to_s)
     }
 
     if current_user