method
register_preview_interceptor
v4.2.1 -
Show latest stable
- Class:
ActionMailer::Previews::ClassMethods
register_preview_interceptor(interceptor)public
Register an Interceptor which will be called before mail is previewed. Either a class or a string can be passed in as the Interceptor. If a string is passed in it will be constantized.