From 8e8695ea57ea70ad7830e91a47d7bfcf702037c6 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Sun, 8 Jan 2023 23:29:42 +1300 Subject: [PATCH] Fix comment. --- actionpack/lib/action_controller/metal.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/actionpack/lib/action_controller/metal.rb b/actionpack/lib/action_controller/metal.rb index 23d612faae..76c0ebf79d 100644 --- a/actionpack/lib/action_controller/metal.rb +++ b/actionpack/lib/action_controller/metal.rb @@ -210,13 +210,14 @@ def dispatch(name, request, response) # :nodoc: end def set_response!(response) # :nodoc: - # Force `performed?` to return true: @_response = response end # Assign the response and mark it as committed. No further processing will occur. def response=(response) set_response!(response) + + # Force `performed?` to return true: @_response_body = true end