diff options
author | Gannon McGibbon <gannon.mcgibbon@gmail.com> | 2018-10-02 14:39:44 -0400 |
---|---|---|
committer | Gannon McGibbon <gannon.mcgibbon@gmail.com> | 2018-10-02 15:31:29 -0400 |
commit | c401c43850e79a4d994e22dd8d82a69612bb947f (patch) | |
tree | c48cf5beea7710c5c75e5fc238f7fb45d8fa2c6c /railties | |
parent | 004fda35688015350eef6152d0c5dbfa3f26a713 (diff) | |
download | rails-c401c43850e79a4d994e22dd8d82a69612bb947f.tar.gz rails-c401c43850e79a4d994e22dd8d82a69612bb947f.tar.bz2 rails-c401c43850e79a4d994e22dd8d82a69612bb947f.zip |
Fix call sites
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/railtie.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/railtie.rb b/railties/lib/rails/railtie.rb index 88dd932370..a67b90e285 100644 --- a/railties/lib/rails/railtie.rb +++ b/railties/lib/rails/railtie.rb @@ -224,7 +224,7 @@ module Rails end def railtie_namespace #:nodoc: - @railtie_namespace ||= self.class.parents.detect { |n| n.respond_to?(:railtie_namespace) } + @railtie_namespace ||= self.class.module_parents.detect { |n| n.respond_to?(:railtie_namespace) } end protected |