app/controllers/ahoy/messages_controller.rb in ahoy_email-2.3.1 vs app/controllers/ahoy/messages_controller.rb in ahoy_email-2.4.0

- old
+ new

@@ -23,10 +23,10 @@ url = params[:u].to_s signature = params[:s].to_s end redirect_options = {} - redirect_options[:allow_other_host] = true if ActionPack::VERSION::MAJOR >= 7 + redirect_options[:allow_other_host] = true if AhoyEmail::Utils.signature_verified?(legacy: legacy, token: token, campaign: campaign, url: url, signature: signature) data = {} data[:campaign] = campaign if campaign data[:token] = token