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

- old
+ new

@@ -1,13 +1,13 @@ -# Copyright (c) 2008-15 Peter H. Boling of RailsBling.com +# 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.new) + ActionMailer::Base.register_interceptor(SanitizeEmail::Bleach) end end end