Files
codeocean/app/views/request_for_comments/index.json.jbuilder
Ralf Teusner e520914385 Some correction of column names.
Support for internal as well as external users. Added column user_type and used it where necessary
2015-08-18 17:44:31 +02:00

5 lines
247 B
Ruby

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