X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6a09f49e71e00e27f0503d74a6af56f87b47b9a1..2a44ff581f4c547a3637ea52567a3398b1d8bfe0:/app/views/api/permissions.builder diff --git a/app/views/api/permissions.builder b/app/views/api/permissions.builder index 066f56788..6d26a9e53 100644 --- a/app/views/api/permissions.builder +++ b/app/views/api/permissions.builder @@ -1,6 +1,6 @@ # create list of permissions -xml.instruct! :xml, :version=>"1.0" -xml.osm("version" => "#{API_VERSION}", "generator" => "OpenStreetMap Server") do +xml.instruct! :xml, :version => "1.0" +xml.osm("version" => API_VERSION.to_s, "generator" => "OpenStreetMap Server") do xml.permissions do @permissions.each do |permission| xml.permission :name => permission