1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

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