diff --git a/app/helpers/attachments_helper.rb b/app/helpers/attachments_helper.rb index f7e4d8420..640a40c21 100644 --- a/app/helpers/attachments_helper.rb +++ b/app/helpers/attachments_helper.rb @@ -43,7 +43,7 @@ module AttachmentsHelper str end end - + def render_api_attachment(attachment, api) api.attachment do api.id attachment.id