X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cc4f133e64a1f0d963f60fb40045145a530d5dbb..1779347849622ade2abf4926a2db867d69f72033:/app/controllers/export_controller.rb diff --git a/app/controllers/export_controller.rb b/app/controllers/export_controller.rb index 736efec19..074a92ce8 100644 --- a/app/controllers/export_controller.rb +++ b/app/controllers/export_controller.rb @@ -3,8 +3,9 @@ class ExportController < ApplicationController before_filter :authorize_web before_filter :set_locale + caches_page :embed + def start - render :partial => "sidebar" end #When the user clicks 'Export' we redirect to a URL which generates the export download @@ -24,4 +25,7 @@ class ExportController < ApplicationController redirect_to "http://parent.tile.openstreetmap.org/cgi-bin/export?bbox=#{bbox}&scale=#{scale}&format=#{format}" end end + + def embed + end end