aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/railties
diff options
context:
space:
mode:
authorYehuda Katz <yehudakatz@YK.local>2010-02-26 14:31:29 -0800
committerYehuda Katz <yehudakatz@YK.local>2010-02-26 14:31:29 -0800
commit1e95f019bb0b2f1f37c5897562da691eb72c0f1c (patch)
tree721a4151f4a0f9b23cb42cebd3b4ad2e0605c4a2 /actionpack/lib/action_controller/railties
parent47260598bea29bd9c383f66d14c01505dff47d1b (diff)
downloadrails-1e95f019bb0b2f1f37c5897562da691eb72c0f1c.tar.gz
rails-1e95f019bb0b2f1f37c5897562da691eb72c0f1c.tar.bz2
rails-1e95f019bb0b2f1f37c5897562da691eb72c0f1c.zip
Fix 1.9 issue
Diffstat (limited to 'actionpack/lib/action_controller/railties')
-rw-r--r--actionpack/lib/action_controller/railties/url_helpers.rb2
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