]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/site_controller.rb
Handle large bounding box changesets better
[rails.git] / app / controllers / site_controller.rb
index 301d4a96641bb6d8557536c8ebf3de00baa600c1..65029e4efe86f3579bda6287ebb2225c26a68641 100644 (file)
@@ -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