lib/ahoy_email/processor.rb in ahoy_email-0.1.0 vs lib/ahoy_email/processor.rb in ahoy_email-0.1.1
- old
+ new
@@ -87,10 +87,10 @@
uri.query_values = params
link["href"] = uri.to_s
end
if options[:click] and !skip_attribute?(link, "click")
- signature = OpenSSL::HMAC.hexdigest(OpenSSL::Digest::Digest.new("sha1"), AhoyEmail.secret_token, link["href"])
+ signature = OpenSSL::HMAC.hexdigest(OpenSSL::Digest.new("sha1"), AhoyEmail.secret_token, link["href"])
url =
AhoyEmail::Engine.routes.url_helpers.url_for(
Rails.application.config.action_mailer.default_url_options.merge(
controller: "ahoy/messages",
action: "click",
\ No newline at end of file