Skip to content

Commit

Permalink
Rewording existing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Neeraj Singh committed Nov 30, 2010
1 parent aa1ac1c commit 3c7a33c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions actionpack/lib/abstract_controller/base.rb
Expand Up @@ -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?
Expand Down

0 comments on commit 3c7a33c

Please sign in to comment.