diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-12-29 16:07:07 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-12-29 16:07:07 -0800 |
commit | e43b2b35c7042c87fd18e3ecd55c14eabd5746ba (patch) | |
tree | 48528c40aae6daaf0e7f559dbaa0236ec434c9f9 /actionpack/lib | |
parent | 87dd62ab2e4a426011392f41090006428fd01e3c (diff) | |
download | rails-e43b2b35c7042c87fd18e3ecd55c14eabd5746ba.tar.gz rails-e43b2b35c7042c87fd18e3ecd55c14eabd5746ba.tar.bz2 rails-e43b2b35c7042c87fd18e3ecd55c14eabd5746ba.zip |
just add the writer rather than adding both and removing one
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/url_for.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/routing/url_for.rb b/actionpack/lib/action_dispatch/routing/url_for.rb index 22e41c9c16..6c2a98ab15 100644 --- a/actionpack/lib/action_dispatch/routing/url_for.rb +++ b/actionpack/lib/action_dispatch/routing/url_for.rb @@ -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 = {} |