X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/24a562f8856a80b0ea42e98c9d18ec6a11585c09..b4d7a83adfb034c6647b54dd200bcc22d1824cee:/app/helpers/application_helper.rb?ds=sidebyside diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 4932bcc5e..17c36bdfe 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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