X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4557654ba63392f0db4aa5c002be692395eb8cee..f1c5b66561ae48bc4f6b3fb5a3138443098fac1b:/app/controllers/site_controller.rb diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index cb57ddc3a..997973922 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -1,6 +1,6 @@ class SiteController < ApplicationController layout 'site' - layout 'map', :only => [:index, :export] + layout :map_layout, :only => [:index, :export] before_filter :authorize_web before_filter :set_locale @@ -45,8 +45,6 @@ class SiteController < ApplicationController return end - @extra_body_class = "site-edit-#{editor}" - if params[:node] bbox = Node.find(params[:node]).bbox.to_unscaled @lat = bbox.centre_lat