X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/24a562f8856a80b0ea42e98c9d18ec6a11585c09..8a6c34fa78cf4fa52332d90448dae50087f2b510:/app/helpers/application_helper.rb 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