Sha256: 9d4cc7e6c4bde010499ddbaa365d9711e06d54cd5c5dd9210a86b309973c29c3
Contents?: true
Size: 349 Bytes
Versions: 3
Compression:
Stored size: 349 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.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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sanitize_email-2.0.3 | lib/sanitize_email/railtie.rb |
sanitize_email-2.0.2 | lib/sanitize_email/railtie.rb |
sanitize_email-2.0.1 | lib/sanitize_email/railtie.rb |