From af023edf3a12de5cb593cef50c6c40fc906a1c26 Mon Sep 17 00:00:00 2001 From: Stas Date: Thu, 26 Nov 2015 15:01:23 +0200 Subject: [PATCH] 107821878-typo --- app/mailers/contact_mailer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mailers/contact_mailer.rb b/app/mailers/contact_mailer.rb index 71e635540..110ce6a71 100644 --- a/app/mailers/contact_mailer.rb +++ b/app/mailers/contact_mailer.rb @@ -4,7 +4,7 @@ class ContactMailer < ApplicationMailer def email_updated(email, contact_id, should_deliver) @contact = Contact.find_by(id: contact_id) return unless email || @contact - return if delivery_off?(contact, should_deliver) + return if delivery_off?(@contact, should_deliver) return if whitelist_blocked?(email) begin