diff options
author | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-12-07 14:28:32 -0500 |
---|---|---|
committer | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-12-07 14:28:32 -0500 |
commit | f53132deea65ae673b29b811c606be103f1ae3ab (patch) | |
tree | da8f8d65a1ff854fdc33f93db7b218d9a998a3a8 /actionpack/lib | |
parent | 8d02afeaee8993bd0fde69687fdd9bf30921e805 (diff) | |
download | rails-f53132deea65ae673b29b811c606be103f1ae3ab.tar.gz rails-f53132deea65ae673b29b811c606be103f1ae3ab.tar.bz2 rails-f53132deea65ae673b29b811c606be103f1ae3ab.zip |
fix prepend_before_filter documentation [ci skip]
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/abstract_controller/callbacks.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/abstract_controller/callbacks.rb b/actionpack/lib/abstract_controller/callbacks.rb index 33799fe6dc..599fff81c2 100644 --- a/actionpack/lib/abstract_controller/callbacks.rb +++ b/actionpack/lib/abstract_controller/callbacks.rb @@ -53,7 +53,7 @@ module AbstractController skip_after_action(*names) skip_around_action(*names) end - + alias_method :skip_filter, :skip_action_callback # Take callback names and an optional callback proc, normalize them, @@ -91,7 +91,7 @@ module AbstractController # :call-seq: prepend_before_action(names, block) # # Prepend a callback before actions. See _insert_callbacks for parameter details. - # Aliased as prepend_before_action. + # Aliased as prepend_before_filter. ## # :method: skip_before_action @@ -206,7 +206,7 @@ module AbstractController end # end alias_method :skip_#{callback}_filter, :skip_#{callback}_action - + # *_action is the same as append_*_action alias_method :append_#{callback}_action, :#{callback}_action # alias_method :append_before_action, :before_action alias_method :append_#{callback}_filter, :#{callback}_action # alias_method :append_before_filter, :before_action |