lib/mailkick.rb in mailkick-1.2.0 vs lib/mailkick.rb in mailkick-1.2.1
- old
+ new
@@ -52,10 +52,10 @@
def self.generate_token(subscriber, list)
raise ArgumentError, "Missing subscriber" unless subscriber
raise ArgumentError, "Missing list" unless list.present?
- message_verifier.generate([nil, subscriber.id, subscriber.class.name, list])
+ message_verifier.generate([nil, subscriber.id, subscriber.class.base_class.name, list])
end
end
ActiveSupport.on_load(:action_mailer) do
helper Mailkick::UrlHelper