[openstreetmap/openstreetmap-website] Add user preferences support to iD editor via server-side rendering (PR #6199)
Deeptanshu Sankhwar
notifications at github.com
Sun Aug 31 09:00:49 UTC 2025
@Deeptanshu-sankhwar 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
Sure @hlfan , thanks for pointing out. I've pushed after running this lint fix
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6199#discussion_r2312343506
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6199/review/3171514334 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250831/31e9b882/attachment.htm>
More information about the rails-dev
mailing list