app/mailers/spotlight/confirmation_mailer.rb in blacklight-spotlight-3.2.0 vs app/mailers/spotlight/confirmation_mailer.rb in blacklight-spotlight-3.3.0
- old
+ new
@@ -4,11 +4,12 @@
##
# Confirm new devise users
class ConfirmationMailer < ActionMailer::Base
include Devise::Mailers::Helpers
- def confirmation_instructions(record, token, opts)
+ def confirmation_instructions(record, token, opts, exhibit: nil)
@token = token
+ @exhibit = exhibit
initialize_from_record(record)
mail headers_for(:confirmation_instructions, opts)
end
end
end