X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/50fafa14f86a9ff02458c1e055f24c199f14a8eb..4395ed6117c6f602a883455b012186368028e3c1:/app/controllers/site_controller.rb diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 1f33b067b..779ea1a88 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -42,7 +42,7 @@ class SiteController < ApplicationController if editor == "remote" require_oauth - render :action => :index + render :action => :index, :layout => map_layout return end @@ -82,6 +82,12 @@ class SiteController < ApplicationController def about end + def export + end + + def offline + end + def preview render :text => RichText.new(params[:format], params[:text]).to_html end