app/helpers/mailkick/url_helper.rb in mailkick-0.0.4 vs app/helpers/mailkick/url_helper.rb in mailkick-0.0.5

- old
+ new

@@ -1,10 +1,10 @@ module Mailkick module UrlHelper - def mailkick_unsubscribe_url(options = {}) + def mailkick_unsubscribe_url Mailkick::Engine.routes.url_helpers.url_for( - Rails.application.config.action_mailer.default_url_options.merge(options).merge( + Rails.application.config.action_mailer.default_url_options.merge( controller: "mailkick/subscriptions", action: "unsubscribe", id: "{{MAILKICK_TOKEN}}" ) )