aboutsummaryrefslogtreecommitdiffstats
path: root/lib/attachment_to_html
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-06-23 10:01:49 +0100
committerLouise Crow <louise.crow@gmail.com>2015-06-23 10:01:49 +0100
commitac59a76cc380af792a09e5dd82b8402dc966af42 (patch)
tree8c0640c44a11ac6f9e42fdb7fc7e6618da2ed6fe /lib/attachment_to_html
parent994a13b08be94220512961b28de8fb95c8d181a5 (diff)
parent7983e37506f3fa16211255ef802bf50735adbdb8 (diff)
Merge branch 'binary-or-utf8-attachment-bodies' into develop
Diffstat (limited to 'lib/attachment_to_html')
-rw-r--r--lib/attachment_to_html/adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/attachment_to_html/adapter.rb b/lib/attachment_to_html/adapter.rb
index 058fb2a01..ac8a16411 100644
--- a/lib/attachment_to_html/adapter.rb
+++ b/lib/attachment_to_html/adapter.rb
@@ -61,7 +61,7 @@ module AttachmentToHTML
end
def attachment_body
- @attachment_body ||= attachment.body
+ @attachment_body ||= attachment.default_body
end
end
end