[openstreetmap/openstreetmap-website] Add user preferences support to iD editor via server-side rendering (PR #6199)

Marwin Hochfelsner notifications at github.com
Wed Aug 27 15:40:11 UTC 2025


@hlfan commented on this pull request.



> +  if Settings.key?(:id_application)
+    token = current_user.oauth_token(Settings.id_application)
+    data[:token] = token.token
+  end
+  data[:locale] = ID::LOCALES.preferred(preferred_languages).to_s

Could you run [`bundle exec erb_lint . --autocorrect`](https://github.com/openstreetmap/openstreetmap-website/blob/master/CONTRIBUTING.md#coding-style)?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6199#pullrequestreview-3160437420
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6199/review/3160437420 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250827/9bf63642/attachment.htm>


More information about the rails-dev mailing list