提交 1e95f019 编写于 作者: Y Yehuda Katz

Fix 1.9 issue

上级 47260598
......@@ -4,7 +4,7 @@ module UrlHelpers
def self.with(router)
Module.new do
define_method(:inherited) do |klass|
super
super(klass)
klass.send(:include, router.named_url_helpers)
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册