parent
b954416a70
commit
49a7921ec8
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ class ExportController < ApplicationController
|
|||
|
||||
if format == "osm"
|
||||
# redirect to API map get
|
||||
redirect_to "http://api.openstreetmap.org/api/#{API_VERSION}/map?bbox=#{bbox}"
|
||||
redirect_to :controller => "api", :action => "map", :bbox => bbox
|
||||
|
||||
elsif format == "mapnik"
|
||||
# redirect to a special 'export' cgi script
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue