Serve embedded maps through the assets pipeline

This commit is contained in:
Tom Hughes 2012-11-23 09:04:38 +00:00
parent d04e3ac9f8
commit c0b47c0c2a
8 changed files with 91 additions and 67 deletions

View file

@ -3,6 +3,8 @@ class ExportController < ApplicationController
before_filter :authorize_web
before_filter :set_locale
caches_page :embed
def start
end
@ -23,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