diff options
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/abstract/callbacks.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/abstract/callbacks.rb b/actionpack/lib/action_controller/abstract/callbacks.rb index dd4213e847..fd7e5ebfda 100644 --- a/actionpack/lib/action_controller/abstract/callbacks.rb +++ b/actionpack/lib/action_controller/abstract/callbacks.rb @@ -45,19 +45,19 @@ module AbstractController class_eval <<-RUBY_EVAL, __FILE__, __LINE__ + 1 def #{filter}_filter(*names, &blk) _insert_callbacks(names, blk) do |name, options| - _set_callback(:process_action, :#{filter}, name, options) + set_callback(:process_action, :#{filter}, name, options) end end def prepend_#{filter}_filter(*names, &blk) _insert_callbacks(names, blk) do |name, options| - _set_callback(:process_action, :#{filter}, name, options.merge(:prepend => true)) + set_callback(:process_action, :#{filter}, name, options.merge(:prepend => true)) end end def skip_#{filter}_filter(*names, &blk) _insert_callbacks(names, blk) do |name, options| - _skip_callback(:process_action, :#{filter}, name, options) + skip_callback(:process_action, :#{filter}, name, options) end end |