various map API rails stuff
This commit is contained in:
parent
6b73747271
commit
2803612d9d
8 changed files with 53 additions and 25 deletions
|
@ -68,7 +68,7 @@ class Segment < ActiveRecord::Base
|
|||
doc = XML::Document.new
|
||||
doc.encoding = 'UTF-8'
|
||||
root = XML::Node.new 'osm'
|
||||
root['version'] = '0.4'
|
||||
root['version'] = API_VERSION
|
||||
root['generator'] = 'OpenStreetMap server'
|
||||
doc.root = root
|
||||
root << to_xml_node()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue