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

Now that class_attribute creates an instance method, remove it to avoid deprecation warnings ;)

This commit is contained in:
wycats 2010-03-08 18:48:58 -08:00
parent 056042eb82
commit e4558e0dbf

View file

@ -90,9 +90,10 @@ module ActionDispatch
class_attribute :default_url_options
else
mattr_accessor :default_url_options
remove_method :default_url_options
end
remove_method :default_url_options
self.default_url_options = {}
end