aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/incoming_message.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb
index 5800740db..274c42a60 100644
--- a/app/models/incoming_message.rb
+++ b/app/models/incoming_message.rb
@@ -224,7 +224,7 @@ class FOIAttachment
def extra_note
# For delivery status notification attachments, extract the status and
# look up what it means in the DSN table.
- if @content_type == 'message/delivery-status':
+ if @content_type == 'message/delivery-status'
if !@body.match(/Status:\s+([0-9]+\.([0-9]+\.[0-9]+))\s+/)
return ""
end
@@ -312,9 +312,9 @@ class FOIAttachment
# PDF, PowerPoint and TIFF are listed on https://docs.google.com/viewer
# .doc and .docx were added later http://gmailblog.blogspot.com/2010/06/view-doc-attachments-right-in-your.html
def has_google_docs_viewer?
- if self.content_type == 'application/vnd.ms-word':
+ if self.content_type == 'application/vnd.ms-word'
return true
- elsif self.content_type == 'application/vnd.openxmlformats-officedocument.wordprocessingml.document':
+ elsif self.content_type == 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
return true
elsif self.content_type == 'application/pdf'
return true