Get more comment information from the server

This commit is contained in:
Maximilian Grundke
2017-08-17 13:56:28 +02:00
parent 14af5182bf
commit f30b60657f
3 changed files with 4 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
json.array!(@comments) do |comment|
json.extract! comment, :id, :user_id, :file_id, :row, :column, :text, :username
json.extract! comment, :id, :user_id, :file_id, :row, :column, :text, :username, :date, :updated
json.url comment_url(comment, format: :json)
end