mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
adding complete message in documentation [ci skip]
This commit is contained in:
parent
225494d1cb
commit
bc9b3313e4
1 changed files with 4 additions and 3 deletions
|
@ -120,7 +120,7 @@ module AbstractController
|
|||
#
|
||||
# The actual method that is called is determined by calling
|
||||
# #method_for_action. If no method can handle the action, then an
|
||||
# ActionNotFound error is raised.
|
||||
# AbstractController::ActionNotFound error is raised.
|
||||
#
|
||||
# ==== Returns
|
||||
# * <tt>self</tt>
|
||||
|
@ -215,7 +215,8 @@ module AbstractController
|
|||
#
|
||||
# ==== Returns
|
||||
# * <tt>string</tt> - The name of the method that handles the action
|
||||
# * false - No valid method name could be found. Raise ActionNotFound.
|
||||
# * false - No valid method name could be found.
|
||||
# Raise AbstractController::ActionNotFound.
|
||||
def _find_action_name(action_name)
|
||||
_valid_action_name?(action_name) && method_for_action(action_name)
|
||||
end
|
||||
|
@ -235,7 +236,7 @@ module AbstractController
|
|||
# the case.
|
||||
#
|
||||
# If none of these conditions are true, and method_for_action
|
||||
# returns nil, an ActionNotFound exception will be raised.
|
||||
# returns nil, an AbstractController::ActionNotFound exception will be raised.
|
||||
#
|
||||
# ==== Parameters
|
||||
# * <tt>action_name</tt> - An action name to find a method name for
|
||||
|
|
Loading…
Reference in a new issue