[openstreetmap/openstreetmap-website] Change language immediately after updating settings (#1883)

Jamie Guthrie notifications at github.com
Sun May 27 00:36:10 UTC 2018


Makes sure that the correct locale is used immediately after updating settings.

At the moment, changing the user's preferred language on the settings page doesn't take effect immediately, and the old locale language is used on the "Your settings have been successfully updated" page.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/1883

-- Commit Summary --

  * Change language immediately after updating settings

-- File Changes --

    M app/controllers/user_controller.rb (2)
    M app/models/user.rb (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/1883.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1883.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1883
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180526/374f88e6/attachment.html>


More information about the rails-dev mailing list