Permalink
Browse files

Minor typo fix in callbacks.rb of abstract_controller

  • Loading branch information...
1 parent 163152b commit e3b04f3ce9a054b3c1dda1964b727d112f24d23c @rohit rohit committed with mikel May 20, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/abstract_controller/callbacks.rb
@@ -20,7 +20,7 @@ def process_action(method_name)
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

0 comments on commit e3b04f3

Please sign in to comment.