You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/app/views/files/public_with_course_and_proj...

12 lines
339 B

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: attachment.author
end
end
end
end