diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2018-10-02 16:04:23 -0400 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2018-10-02 16:04:23 -0400 |
commit | 92fece96da28d9f641bc8a8db1187b91c94cabfb (patch) | |
tree | b42943a968ce869a9d716b1f798e861d7700bffb /actionpack/lib/action_controller | |
parent | 59a6ba4bd585f53a02b118011599b835e47773ea (diff) | |
parent | c401c43850e79a4d994e22dd8d82a69612bb947f (diff) | |
download | rails-92fece96da28d9f641bc8a8db1187b91c94cabfb.tar.gz rails-92fece96da28d9f641bc8a8db1187b91c94cabfb.tar.bz2 rails-92fece96da28d9f641bc8a8db1187b91c94cabfb.zip |
Merge pull request #34051 from gmcgibbon/module_parent_method_rename
Prefix Module#parent, Module#parents, and Module#parent_name with module
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/railties/helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/railties/helpers.rb b/actionpack/lib/action_controller/railties/helpers.rb index fa746fa9e8..75938108d6 100644 --- a/actionpack/lib/action_controller/railties/helpers.rb +++ b/actionpack/lib/action_controller/railties/helpers.rb @@ -7,7 +7,7 @@ module ActionController super return unless klass.respond_to?(:helpers_path=) - if namespace = klass.parents.detect { |m| m.respond_to?(:railtie_helpers_paths) } + if namespace = klass.module_parents.detect { |m| m.respond_to?(:railtie_helpers_paths) } paths = namespace.railtie_helpers_paths else paths = ActionController::Helpers.helpers_path |