class SiteController < ApplicationController
layout 'site'
- layout 'map', :only => [:index, :export]
+ layout :map_layout, :only => [:index, :export]
before_filter :authorize_web
before_filter :set_locale
return
end
- @extra_body_class = "site-edit-#{editor}"
-
if params[:node]
bbox = Node.find(params[:node]).bbox.to_unscaled
@lat = bbox.centre_lat