]> git.openstreetmap.org Git - rails.git/blob - app/views/api/changeset_comments/_changeset_comment.json.jbuilder
Add frozen_string_literal comments to ruby files
[rails.git] / app / views / api / changeset_comments / _changeset_comment.json.jbuilder
1 # frozen_string_literal: true
2
3 json.id changeset_comment.id
4 json.visible changeset_comment.visible
5 json.date changeset_comment.created_at.xmlschema
6 if changeset_comment.author.data_public?
7   json.uid changeset_comment.author.id
8   json.user changeset_comment.author.display_name
9 end
10 json.text changeset_comment.body