Sha256: 697ce6e13db095ec43492e9fcd15ad30d0a25ec23bc79a3d4c0ed3ba84fb26e8

Contents?: true

Size: 321 Bytes

Versions: 8

Compression:

Stored size: 321 Bytes

Contents

# Copyright (c) 2008-13 Peter H. Boling of RailsBling.com
# Released under the MIT license
# For Rails 3.0, which didn't yet support Engines
module SanitizeEmail
  class Railtie < ::Rails::Railtie

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

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sanitize_email-1.1.6 lib/sanitize_email/railtie.rb
sanitize_email-1.1.5 lib/sanitize_email/railtie.rb
sanitize_email-1.1.4 lib/sanitize_email/railtie.rb
sanitize_email-1.1.3 lib/sanitize_email/railtie.rb
sanitize_email-1.1.2 lib/sanitize_email/railtie.rb
sanitize_email-1.1.1 lib/sanitize_email/railtie.rb
sanitize_email-1.1.0 lib/sanitize_email/railtie.rb
sanitize_email-1.0.11 lib/sanitize_email/railtie.rb