mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
use the helpers list rather than getting the methods from the module
This commit is contained in:
parent
06573a3a76
commit
ccaeb6b667
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ module ActionDispatch
|
|||
end
|
||||
|
||||
def helper_names
|
||||
self.module.instance_methods.map(&:to_s)
|
||||
@helpers.map(&:to_s)
|
||||
end
|
||||
|
||||
def clear!
|
||||
|
|
Loading…
Reference in a new issue