Permalink
Browse files

Rewording existing comment

  • Loading branch information...
1 parent 30d7a71 commit 2b26ba64a58f3d27bb7b303bc954c64a26569170 Neeraj Singh committed with fxn 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 2b26ba6

Please sign in to comment.