aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2010-11-30 10:00:47 -0500
committerNeeraj Singh <neerajdotname@gmail.com>2010-11-30 10:00:47 -0500
commit3c7a33c0510e30a3017b007d8ed8afcae02ef4a6 (patch)
tree4af843e58b05bce927bd5c7812dc1a354677a3ee /actionpack
parentaa1ac1ca8cf9557dae72604a48de1f0e58515b40 (diff)
downloadrails-3c7a33c0510e30a3017b007d8ed8afcae02ef4a6.tar.gz
rails-3c7a33c0510e30a3017b007d8ed8afcae02ef4a6.tar.bz2
rails-3c7a33c0510e30a3017b007d8ed8afcae02ef4a6.zip
Rewording existing comment
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/abstract_controller/base.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/actionpack/lib/abstract_controller/base.rb b/actionpack/lib/abstract_controller/base.rb
index f83eaded88..c384fd0978 100644
--- a/actionpack/lib/abstract_controller/base.rb
+++ b/actionpack/lib/abstract_controller/base.rb
@@ -31,10 +31,9 @@ module AbstractController
# A list of all internal methods for a controller. This finds the first
# abstract superclass of a controller, and gets a list of all public
# instance methods on that abstract class. Public instance methods of
- # a controller would normally be considered action methods, so we
- # are removing those methods on classes declared as abstract
- # (ActionController::Metal and ActionController::Base are defined
- # as abstract)
+ # a controller would normally be considered action methods, so methods
+ # declared on abstract classes are being removed.
+ # (ActionController::Metal and ActionController::Base are defined as abstract)
def internal_methods
controller = self
controller = controller.superclass until controller.abstract?