1
0
Fork 0
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:
Aaron Patterson 2013-01-24 15:43:08 -08:00
parent 06573a3a76
commit ccaeb6b667

View file

@ -122,7 +122,7 @@ module ActionDispatch
end end
def helper_names def helper_names
self.module.instance_methods.map(&:to_s) @helpers.map(&:to_s)
end end
def clear! def clear!