提交 e43b2b35 编写于 作者: A Aaron Patterson

just add the writer rather than adding both and removing one

上级 87dd62ab
......@@ -90,8 +90,7 @@ module UrlFor
if respond_to?(:class_attribute)
class_attribute :default_url_options
else
mattr_accessor :default_url_options
remove_method :default_url_options
mattr_writer :default_url_options
end
self.default_url_options = {}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册