Use full list of osm xml root attributes in builder templates
This commit is contained in:
parent
fac3f0ef24
commit
686fee43bf
6 changed files with 16 additions and 10 deletions
|
@ -1,6 +1,6 @@
|
|||
# create list of permissions
|
||||
xml.instruct! :xml, :version => "1.0"
|
||||
xml.osm("version" => API_VERSION.to_s, "generator" => "OpenStreetMap Server") do
|
||||
xml.osm(OSM::API.new.xml_root_attributes) do
|
||||
xml.permissions do
|
||||
@permissions.each do |permission|
|
||||
xml.permission :name => permission
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue