fix prepend_before_filter documentation [ci skip]

This commit is contained in:
Francesco Rodriguez 2012-12-07 14:28:32 -05:00
parent 8d02afeaee
commit f53132deea
1 changed files with 3 additions and 3 deletions

View File

@ -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