aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorTeng Siong Ong <siong1987@gmail.com>2011-05-28 13:58:47 +0800
committerTeng Siong Ong <siong1987@gmail.com>2011-05-28 13:58:47 +0800
commit9a67a117b36374ac94ceee99ea0b2f724deb0b5b (patch)
tree0237a1bf6b6f52f2296aac31067c39ccbbe6bf1a /actionmailer
parent0f0213f490e9008d4cdebd696592d495943426a0 (diff)
downloadrails-9a67a117b36374ac94ceee99ea0b2f724deb0b5b.tar.gz
rails-9a67a117b36374ac94ceee99ea0b2f724deb0b5b.tar.bz2
rails-9a67a117b36374ac94ceee99ea0b2f724deb0b5b.zip
minor typo in the rdoc about Interceptor.
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/lib/action_mailer/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb
index dd6e671ab8..3afdbea42a 100644
--- a/actionmailer/lib/action_mailer/base.rb
+++ b/actionmailer/lib/action_mailer/base.rb
@@ -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)