]> git.openstreetmap.org Git - rails.git/blob - app/views/api/changeset_comments/index.xml.builder
Add frozen_string_literal comments to ruby files
[rails.git] / app / views / api / changeset_comments / index.xml.builder
1 # frozen_string_literal: true
2
3 xml.instruct! :xml, :version => "1.0"
4
5 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
6   @comments.includes(:author).each do |comment|
7     osm << render(comment)
8   end
9 end