mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Rewording existing comment
This commit is contained in:
parent
aa1ac1ca8c
commit
3c7a33c051
1 changed files with 3 additions and 4 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue