Sha256: 314287bc37c7788b92cf9da610c8c61187760e1d206791669f7c8530651e5f11

Contents?: true

Size: 320 Bytes

Versions: 4

Compression:

Stored size: 320 Bytes

Contents

# Copyright (c) 2008-16 Peter H. Boling of RailsBling.com
# Released under the MIT license

module SanitizeEmail
  # For Rails 3.0, which didn't yet support Engines
  class Railtie < ::Rails::Railtie

    config.after_initialize do
      ActionMailer::Base.register_interceptor(SanitizeEmail::Bleach)
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sanitize_email-2.0.0 lib/sanitize_email/railtie.rb
sanitize_email-1.2.2 lib/sanitize_email/railtie.rb
sanitize_email-1.2.1 lib/sanitize_email/railtie.rb
sanitize_email-1.2.0 lib/sanitize_email/railtie.rb