|
|
|
@ -6,6 +6,6 @@ json.publish_time attachment.publish_time
|
|
|
|
|
json.quotes attachment.quotes_count
|
|
|
|
|
json.downloads_count attachment.downloads_count
|
|
|
|
|
json.created_on attachment.created_on
|
|
|
|
|
json.url attachment_path(attachment, type: 'history').gsub("/api","")
|
|
|
|
|
json.url download_url(attachment.attachment)
|
|
|
|
|
json.is_pdf attachment.is_history_pdf?
|
|
|
|
|
json.attachment_id attachment.attachment_id
|
|
|
|
|