@@ -290,7 +290,7 class MailHandler < ActionMailer::Base | |||
|
290 | 290 | email.attachments.each do |attachment| |
|
291 | 291 | next unless accept_attachment?(attachment) |
|
292 | 292 | obj.attachments << Attachment.create(:container => obj, |
|
293 | :file => attachment.decoded, | |
|
293 | :file => attachment.body.decoded, | |
|
294 | 294 | :filename => attachment.filename, |
|
295 | 295 | :author => user, |
|
296 | 296 | :content_type => attachment.mime_type) |
General Comments 0
You need to be logged in to leave comments.
Login now