Create api map resource
This commit is contained in:
parent
8cf77a2f36
commit
01b5ed5d28
9 changed files with 30 additions and 30 deletions
|
@ -19,7 +19,7 @@ class ExportController < ApplicationController
|
|||
case style
|
||||
when "osm"
|
||||
# redirect to API map get
|
||||
redirect_to :controller => "api/map", :action => "index", :bbox => bbox
|
||||
redirect_to api_map_path(:bbox => bbox)
|
||||
|
||||
when "mapnik"
|
||||
# redirect to a special 'export' cgi script
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue