aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRohit Arondekar <rohit.arondekar@gmail.com>2010-05-20 03:23:21 -0700
committerMikel Lindsaar <raasdnil@gmail.com>2010-06-03 23:32:08 +1000
commite3b04f3ce9a054b3c1dda1964b727d112f24d23c (patch)
treefecba1fe6e4fe1a4bd2d58c1668f10f13cfff210
parent163152bfd0ea5344472d24b6f89e8c957dbd66f5 (diff)
downloadrails-e3b04f3ce9a054b3c1dda1964b727d112f24d23c.tar.gz
rails-e3b04f3ce9a054b3c1dda1964b727d112f24d23c.tar.bz2
rails-e3b04f3ce9a054b3c1dda1964b727d112f24d23c.zip
Minor typo fix in callbacks.rb of abstract_controller
-rw-r--r--actionpack/lib/abstract_controller/callbacks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/abstract_controller/callbacks.rb b/actionpack/lib/abstract_controller/callbacks.rb
index ee496dadc5..67efeb7063 100644
--- a/actionpack/lib/abstract_controller/callbacks.rb
+++ b/actionpack/lib/abstract_controller/callbacks.rb
@@ -20,7 +20,7 @@ module AbstractController
end
module ClassMethods
- # If :only or :accept are used, convert the options into the
+ # If :only or :except are used, convert the options into the
# primitive form (:per_key) used by ActiveSupport::Callbacks.
# The basic idea is that :only => :index gets converted to
# :if => proc {|c| c.action_name == "index" }, but that the