X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3ca642271aac133eb3f0b32e9c5d096e61479cbe..ae0177fbe61d7d02e3c6b441bd395fff6fd96a18:/app/controllers/site_controller.rb diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 7c8ee32b3..94cc64754 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -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