Add changeset comment search api json format
This commit is contained in:
parent
1f59507e78
commit
2a5051376a
4 changed files with 26 additions and 8 deletions
|
@ -0,0 +1,8 @@
|
|||
json.id changeset_comment.id
|
||||
json.visible changeset_comment.visible
|
||||
json.date changeset_comment.created_at.xmlschema
|
||||
if changeset_comment.author.data_public?
|
||||
json.uid changeset_comment.author.id
|
||||
json.user changeset_comment.author.display_name
|
||||
end
|
||||
json.text changeset_comment.body
|
Loading…
Add table
Add a link
Reference in a new issue