X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a56d1036d58d45777d6adeffd5a950519bc70318..3e405040eaa0f0e086ea22ff3934a2adfcb851b6:/app/controllers/site_controller.rb?ds=sidebyside diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index eb8749f6f..1757e771a 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -41,12 +41,11 @@ class SiteController < ApplicationController editor = preferred_editor if editor == "remote" + require_oauth render :action => :index return end - @extra_body_class = "site-edit-#{editor}" - if params[:node] bbox = Node.find(params[:node]).bbox.to_unscaled @lat = bbox.centre_lat