Sha256: f748a3196d38d15b014f7e7d31879ac2a560950935ec260750856c4610c2b289

Contents?: true

Size: 310 Bytes

Versions: 3

Compression:

Stored size: 310 Bytes

Contents

# frozen_string_literal: true

# Copyright (c) 2008-16 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)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sanitize_email-2.0.3 lib/sanitize_email/engine.rb
sanitize_email-2.0.2 lib/sanitize_email/engine.rb
sanitize_email-2.0.1 lib/sanitize_email/engine.rb