Permalink
Browse files

Rewording existing comment

  • Loading branch information...
1 parent aa1ac1c commit 3c7a33c0510e30a3017b007d8ed8afcae02ef4a6 Neeraj Singh committed Nov 30, 2010
Showing with 3 additions and 4 deletions.
  1. +3 −4 actionpack/lib/abstract_controller/base.rb
@@ -31,10 +31,9 @@ def abstract!
# 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?

0 comments on commit 3c7a33c

Please sign in to comment.