Files
codeocean/app/views/request_for_comments/index.json.jbuilder
2016-08-11 18:13:33 +02:00

5 lines
222 B
Ruby

json.array!(@request_for_comments) do |request_for_comment|
json.extract! request_for_comment, :id, :user_id, :exercise_id, :file_id, :user_type
json.url request_for_comment_url(request_for_comment, format: :json)
end