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:
parent
056042eb82
commit
e4558e0dbf
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue