Sha256: 9e1b635ca04619ad0e577332938667121a41e30dc0f4f1e1fafc7063fc809838

Contents?: true

Size: 285 Bytes

Versions: 1

Compression:

Stored size: 285 Bytes

Contents

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

module SanitizeEmail
  # For Rails >= 3.1
  class Engine < ::Rails::Engine

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

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sanitize_email-1.1.7 lib/sanitize_email/engine.rb