diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2010-10-16 23:12:19 -0400 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-10-17 12:26:32 -0200 |
commit | ea14396c455b0816e87abe424275290fc4b09b32 (patch) | |
tree | 3f92e0afad41bb4039adbc2c2bbc6e9b4b9d1096 /actionmailer/lib/action_mailer | |
parent | b44e2abd9f65b5d253175e047b1f4c115385d2f3 (diff) | |
download | rails-ea14396c455b0816e87abe424275290fc4b09b32.tar.gz rails-ea14396c455b0816e87abe424275290fc4b09b32.tar.bz2 rails-ea14396c455b0816e87abe424275290fc4b09b32.zip |
replace if ! with unless
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Diffstat (limited to 'actionmailer/lib/action_mailer')
-rw-r--r-- | actionmailer/lib/action_mailer/old_api.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/old_api.rb b/actionmailer/lib/action_mailer/old_api.rb index 0396f0775e..a8d7454898 100644 --- a/actionmailer/lib/action_mailer/old_api.rb +++ b/actionmailer/lib/action_mailer/old_api.rb @@ -212,7 +212,7 @@ module ActionMailer # If this is a multipart e-mail add the mime_version if it is not # already set. - @mime_version ||= "1.0" if !@parts.empty? + @mime_version ||= "1.0" unless @parts.empty? end end |