aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller/base.rb
diff options
context:
space:
mode:
authorGaurav Sharma <gaurav2728@gmail.com>2014-05-11 18:11:23 +0530
committerGaurav Sharma <gaurav2728@gmail.com>2014-05-11 18:11:23 +0530
commitbc9b3313e4ac6426d44cf32fde9de0e5417b840c (patch)
tree0255b1a72eb0a04f3eea98d2b88791ee6a426322 /actionpack/lib/abstract_controller/base.rb
parent225494d1cb1fda8e0a2c17f33a15a6806a8b137a (diff)
downloadrails-bc9b3313e4ac6426d44cf32fde9de0e5417b840c.tar.gz
rails-bc9b3313e4ac6426d44cf32fde9de0e5417b840c.tar.bz2
rails-bc9b3313e4ac6426d44cf32fde9de0e5417b840c.zip
adding complete message in documentation [ci skip]
Diffstat (limited to 'actionpack/lib/abstract_controller/base.rb')
-rw-r--r--actionpack/lib/abstract_controller/base.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/actionpack/lib/abstract_controller/base.rb b/actionpack/lib/abstract_controller/base.rb
index 6d200a0333..8d1c228657 100644
--- a/actionpack/lib/abstract_controller/base.rb
+++ b/actionpack/lib/abstract_controller/base.rb
@@ -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