1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

just add the writer rather than adding both and removing one

This commit is contained in:
Aaron Patterson 2011-12-29 16:07:07 -08:00
parent 87dd62ab2e
commit e43b2b35c7

View file

@ -90,8 +90,7 @@ module ActionDispatch
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 = {}