aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/renderer/abstract_renderer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_view/renderer/abstract_renderer.rb')
-rw-r--r--actionpack/lib/action_view/renderer/abstract_renderer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/renderer/abstract_renderer.rb b/actionpack/lib/action_view/renderer/abstract_renderer.rb
index 9be1b5f738..53412f631d 100644
--- a/actionpack/lib/action_view/renderer/abstract_renderer.rb
+++ b/actionpack/lib/action_view/renderer/abstract_renderer.rb
@@ -3,7 +3,7 @@ module ActionView
attr_reader :lookup_context
delegate :find_template, :template_exists?, :with_fallbacks, :update_details,
- :with_layout_format, :formats, :to => :lookup_context
+ :with_layout_format, :formats, :freeze_formats, :to => :lookup_context
def initialize(view)
@view = view
@@ -33,4 +33,4 @@ module ActionView
ActiveSupport::Notifications.instrument("render_#{name}.action_view", options){ yield }
end
end
-end \ No newline at end of file
+end