app/models/spotlight/contact_email.rb in blacklight-spotlight-4.2.0 vs app/models/spotlight/contact_email.rb in blacklight-spotlight-4.3.0
- old
+ new
@@ -31,10 +31,10 @@
errors.add :email, 'is not valid' if parsed.nil? || parsed.address != email || parsed.local == email
end
def send_devise_notification(notification, *args)
- notice = notification_mailer.send(notification, self, *args, exhibit: exhibit)
+ notice = notification_mailer.send(notification, self, *args, exhibit:)
if notice.respond_to? :deliver_now
notice.deliver_now
else
notice.deliver
end