forgeplus/app/views/files/mine_with_course_and_projec...

12 lines
335 B
Ruby

json.partial! "commons/success"
json.data do
json.total_count @total_count
json.files do
json.array! @attachments do |attachment|
json.partial! "attachments/attachment_small", attachment: attachment
json.author do
json.partial! "users/user_simple", user: @current_user
end
end
end
end