X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/409576eea0542c650f3937624bb21a68ac58d6fd..41c69b0dbe82ed041e89811490a2e630cc76551f:/app/controllers/site_controller.rb diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 301d4a966..65029e4ef 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -34,7 +34,7 @@ class SiteController < ApplicationController def edit editor = params[:editor] || @user.preferred_editor || DEFAULT_EDITOR - if editor == "josm" + if editor == "remote" render :action => :index else # Decide on a lat lon to initialise potlatch with. Various ways of doing this @@ -64,7 +64,7 @@ class SiteController < ApplicationController #Currently this results in potlatch starting up at 0,0 (Atlantic ocean). end - @zoom = '14' if @zoom.nil? + @zoom = '17' if @zoom.nil? end end end