mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
minor typo in the rdoc about Interceptor.
This commit is contained in:
parent
0f0213f490
commit
9a67a117b3
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ module ActionMailer #:nodoc:
|
|||
end
|
||||
|
||||
# Register an Inteceptor which will be called before mail is sent.
|
||||
# Either a class or a string can be passed in as the Observer. If a string is passed in
|
||||
# Either a class or a string can be passed in as the Interceptor. If a string is passed in
|
||||
# it will be <tt>constantize</tt>d.
|
||||
def register_interceptor(interceptor)
|
||||
delivery_interceptor = (interceptor.is_a?(String) ? interceptor.constantize : interceptor)
|
||||
|
|
Loading…
Reference in a new issue