]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/user_controller.rb
Initial work on support for multiple editors
[rails.git] / app / controllers / user_controller.rb
index 19e8aeb7c16ac60fda8aa8f307f9d6cc68db93d3..d73d38a17f9ee5da31669feff665fe522c1f1602 100644 (file)
@@ -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