From 8247bd9d3e1c2772f2f1e0e7ee30ff7f19ddd0de Mon Sep 17 00:00:00 2001 From: Yehuda Katz Date: Sat, 27 Feb 2010 00:18:16 -0800 Subject: [PATCH] The instance_reader of default_url_options needs to not exist. --- actionpack/lib/action_dispatch/routing/url_for.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/actionpack/lib/action_dispatch/routing/url_for.rb b/actionpack/lib/action_dispatch/routing/url_for.rb index d467929561..7f2c9a5c12 100644 --- a/actionpack/lib/action_dispatch/routing/url_for.rb +++ b/actionpack/lib/action_dispatch/routing/url_for.rb @@ -90,6 +90,7 @@ module ActionDispatch class_attribute :default_url_options else mattr_accessor :default_url_options + remove_method :default_url_options end self.default_url_options = {}