Merge commenting support

This commit is contained in:
Felix Wolff
2015-03-27 11:57:35 +01:00
parent 6e5e9a6634
commit a70053532b
9 changed files with 122 additions and 0 deletions

View File

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