lib/action_controller/metal/streaming.rb in actionpack-8.0.0.rc2 vs lib/action_controller/metal/streaming.rb in actionpack-8.0.0
- old
+ new
@@ -169,10 +169,10 @@
module Streaming
private
# Call render_body if we are streaming instead of usual `render`.
def _render_template(options)
if options.delete(:stream)
- # It shoudn't be necessary to set this.
+ # It shouldn't be necessary to set this.
headers["cache-control"] ||= "no-cache"
view_renderer.render_body(view_context, options)
else
super