|
|
|
@ -8,3 +8,4 @@ json.downloads_count attachment.downloads_count
|
|
|
|
|
json.created_on attachment.created_on
|
|
|
|
|
json.url attachment_path(attachment, type: 'history').gsub("/api","")
|
|
|
|
|
json.is_pdf attachment.is_history_pdf?
|
|
|
|
|
json.attachment_id attachment.attachment_id
|
|
|
|
|