lib/sanitize_email/engine.rb in sanitize_email-1.1.6 vs lib/sanitize_email/engine.rb in sanitize_email-1.1.7

- old
+ new

@@ -1,8 +1,9 @@ -# Copyright (c) 2008-13 Peter H. Boling of RailsBling.com +# Copyright (c) 2008-15 Peter H. Boling of RailsBling.com # Released under the MIT license -# For Rails >= 3.1 + module SanitizeEmail + # For Rails >= 3.1 class Engine < ::Rails::Engine config.to_prepare do ActionMailer::Base.register_interceptor(SanitizeEmail::Bleach.new) end