Merge remote-tracking branch 'osmlab/id-default'
[rails.git] / app / controllers / site_controller.rb
index 7c8ee32b3f9f382504d98768b8994404c515b050..94cc647543c0ff526d4a5cc4d93a6b6b014f278c 100644 (file)
@@ -36,7 +36,7 @@ class SiteController < ApplicationController
   end
 
   def edit
-    editor = params[:editor] || @user.preferred_editor || DEFAULT_EDITOR
+    editor = preferred_editor
 
     if editor == "remote"
       render :action => :index