lib/sanitize_email/engine.rb in sanitize_email-1.0.0.rc1 vs lib/sanitize_email/engine.rb in sanitize_email-1.0.0.rc3
- old
+ new
@@ -3,10 +3,10 @@
# For Rails >= 3.1
module SanitizeEmail
class Engine < ::Rails::Engine
config.to_prepare do
- ActionMailer::Base.register_interceptor(SanitizeEmail::Bleach)
+ ActionMailer::Base.register_interceptor(SanitizeEmail::Bleach.new)
end
end
end