From 1e95f019bb0b2f1f37c5897562da691eb72c0f1c Mon Sep 17 00:00:00 2001 From: Yehuda Katz Date: Fri, 26 Feb 2010 14:31:29 -0800 Subject: Fix 1.9 issue --- actionpack/lib/action_controller/railties/url_helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib') 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 -- cgit v1.2.3