lib/abstract_controller/callbacks.rb in actionpack-3.0.0.beta3 vs lib/abstract_controller/callbacks.rb in actionpack-3.0.0.beta4
- old
+ new
@@ -18,10 +18,10 @@
super
end
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
# proc is only evaluated once per action for the lifetime of
# a Rails process.