diff options
Diffstat (limited to 'actionpack/lib/action_controller/railties/url_helpers.rb')
-rw-r--r-- | actionpack/lib/action_controller/railties/url_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/railties/url_helpers.rb b/actionpack/lib/action_controller/railties/url_helpers.rb index 354d3fa898..e726535a4f 100644 --- a/actionpack/lib/action_controller/railties/url_helpers.rb +++ b/actionpack/lib/action_controller/railties/url_helpers.rb @@ -4,7 +4,7 @@ module ActionController def self.with(router) Module.new do define_method(:inherited) do |klass| - super + super(klass) klass.send(:include, router.named_url_helpers) end end |