Permalink
Browse files

just add the writer rather than adding both and removing one

  • Loading branch information...
1 parent 87dd62a commit e43b2b35c7042c87fd18e3ecd55c14eabd5746ba @tenderlove tenderlove committed Dec 30, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 actionpack/lib/action_dispatch/routing/url_for.rb
View
3 actionpack/lib/action_dispatch/routing/url_for.rb
@@ -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 = {}

0 comments on commit e43b2b3

Please sign in to comment.