aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/callbacks.rb
diff options
context:
space:
mode:
authorClaudio Ortolina <claudio@new-bamboo.co.uk>2015-01-11 12:45:08 +0000
committerClaudio Ortolina <claudio@new-bamboo.co.uk>2015-01-31 14:25:00 +0000
commitff5fcf65ec1f5963e5168786277eb4437c065524 (patch)
tree8223020eebdfa698f7dd935c20bea00c219b1242 /actionpack/lib/action_dispatch/middleware/callbacks.rb
parent7bb620869725ad6de603f6a5393ee17df13aa96c (diff)
downloadrails-ff5fcf65ec1f5963e5168786277eb4437c065524.tar.gz
rails-ff5fcf65ec1f5963e5168786277eb4437c065524.tar.bz2
rails-ff5fcf65ec1f5963e5168786277eb4437c065524.zip
ActionMailer::Base can unregister interceptor(s).
One or multiple mail interceptors can be unregistered using `ActionMailer::Base.unregister_interceptors` or `ActionMailer::Base.unregister_interceptor`. For preview interceptors, it's possible to use `ActionMailer::Base.unregister_preview_interceptors` or `ActionMailer::Base.unregister_preview_interceptor`. Refactors logic to constantize a string/symbol into separate method.
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/callbacks.rb')
0 files changed, 0 insertions, 0 deletions