Fix comment.
This commit is contained in:
parent
6d5e0d2de2
commit
8e8695ea57
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user