diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-07-01 22:56:17 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-07-01 22:56:17 +0300 |
commit | 9e211091a85c20adea63b89111240350d6d8ffcb (patch) | |
tree | b4ba0fe2c948cdd32ed650371820c3ec376de83d /lib/disable_email_interceptor.rb | |
parent | b227355973fac017905833409e8cb721f9dbd36d (diff) |
Enable Style/EmptyLines cop, remove redundant ones
Diffstat (limited to 'lib/disable_email_interceptor.rb')
-rw-r--r-- | lib/disable_email_interceptor.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/disable_email_interceptor.rb b/lib/disable_email_interceptor.rb index 1b80be112a4..cee664b8951 100644 --- a/lib/disable_email_interceptor.rb +++ b/lib/disable_email_interceptor.rb @@ -1,6 +1,5 @@ # Read about interceptors in http://guides.rubyonrails.org/action_mailer_basics.html#intercepting-emails class DisableEmailInterceptor - def self.delivering_email(message) message.perform_deliveries = false Rails.logger.info "Emails disabled! Interceptor prevented sending mail #{message.subject}" |