Serve embedded maps through the assets pipeline
This commit is contained in:
parent
d04e3ac9f8
commit
c0b47c0c2a
8 changed files with 91 additions and 67 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue