X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7f955a4aca277350a70bb95f0ca97e64d7d808c4..cd66a5db99fda4920ed559ec71163d5d01ba1f4a:/app/controllers/user_controller.rb diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 19e8aeb7c..d73d38a17 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -109,6 +109,8 @@ class UserController < ApplicationController @user.home_lat = params[:user][:home_lat] @user.home_lon = params[:user][:home_lon] + @user.preferred_editor = params[:user][:preferred_editor] + if @user.save set_locale