Create api map resource

This commit is contained in:
Anton Khorev 2025-01-24 10:47:58 +03:00
parent 8cf77a2f36
commit 01b5ed5d28
9 changed files with 30 additions and 30 deletions

View file

@ -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