[openstreetmap/openstreetmap-website] Change language immediately after updating settings (#1883)
Jamie Guthrie
notifications at github.com
Sun May 27 11:20:43 UTC 2018
jguthrie100 commented on this pull request.
> @@ -126,6 +126,7 @@ def account
(params[:user][:auth_provider] == current_user.auth_provider &&
params[:user][:auth_uid] == current_user.auth_uid)
update_user(current_user, params)
+ @title = t "user.account.title"
It makes much more sense - I didn't realise that the `redirect_to` method didn't immediately exit the method
--
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#discussion_r191073335
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180527/556e1ace/attachment-0001.html>
More information about the rails-dev
mailing list