aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--actionpack/lib/action_view/lookup_context.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/lookup_context.rb b/actionpack/lib/action_view/lookup_context.rb
index c1686848dd..089d3b1e57 100644
--- a/actionpack/lib/action_view/lookup_context.rb
+++ b/actionpack/lib/action_view/lookup_context.rb
@@ -56,7 +56,7 @@ module ActionView
@details_keys = Hash.new
def self.get(details)
- @details_keys[details.freeze] ||= new
+ @details_keys[details] ||= new
end
def initialize
@@ -86,7 +86,6 @@ module ActionView
def _set_detail(key, value)
@details_key = nil
- @details = @details.dup if @details.frozen?
@details[key] = value
end
end