diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-05-15 11:29:58 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-05-15 11:29:58 +0100 |
commit | 362b1cfdab4115478034e004c85001bb6d7abd68 (patch) | |
tree | aff7422269c160ab15277e7913646aed1ca32bb5 /app/models/raw_email.rb | |
parent | 4593cc9e546878d69f795ce75808aae60656213c (diff) | |
parent | 95e7cd60a2ff78aa8550dc1855ee7c01a0f4c6f2 (diff) |
Merge branch 'develop' into feature/fix-404-in-themes
Diffstat (limited to 'app/models/raw_email.rb')
-rw-r--r-- | app/models/raw_email.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/raw_email.rb b/app/models/raw_email.rb index 1feb9c70b..29122e692 100644 --- a/app/models/raw_email.rb +++ b/app/models/raw_email.rb @@ -16,7 +16,7 @@ class RawEmail < ActiveRecord::Base # deliberately don't strip_attributes, so keeps raw email properly - + has_one :incoming_message # We keep the old data_text field (which is of type text) for backwards @@ -30,7 +30,7 @@ class RawEmail < ActiveRecord::Base return File.join(Rails.root, 'files/raw_email_test') else return File.join(MySociety::Config.get('RAW_EMAILS_LOCATION', - 'files/raw_emails'), + 'files/raw_emails'), request_id[0..2], request_id) end end |