aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/flows.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/lib/action_view/flows.rb')
-rw-r--r--actionview/lib/action_view/flows.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/flows.rb b/actionview/lib/action_view/flows.rb
index ba24510e56..bc61920848 100644
--- a/actionview/lib/action_view/flows.rb
+++ b/actionview/lib/action_view/flows.rb
@@ -15,7 +15,7 @@ module ActionView
# Called by each renderer object to set the layout contents.
def set(key, value)
- @content[key] = value
+ @content[key] = ActiveSupport::SafeBuffer.new(value)
end
# Called by content_for