Sha256: 372f64ca9aa753ff06292568cbe7fab92aad501f1f8a14c546116b35579809be

Contents?: true

Size: 396 Bytes

Versions: 1

Compression:

Stored size: 396 Bytes

Contents

# frozen_string_literal: true

# Copyright (c) 2008 - 2018, 2020, 2022, 2024 Peter H. Boling of RailsBling.com
# Released under the MIT license

module SanitizeEmail
  # For Rails >= 3.1, < 6.0
  # TODO: Remove when support for Rails < 6 is dropped
  class EngineV5 < ::Rails::Engine
    config.to_prepare do
      ActionMailer::Base.register_interceptor(SanitizeEmail::Bleach)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sanitize_email-2.0.5 lib/sanitize_email/engine_v5.rb