Append missing 's' to #silence_warning call

This commit is contained in:
utilum 2019-11-07 11:23:51 +02:00
parent 789fa4d934
commit 8424f34289
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ module ActionController
response.headers["Content-Type"] = "text/event-stream"
response.stream.write "before load"
sleep 0.01
silence_warning do
silence_warnings do
::LoadMe
end
response.stream.close