mirror of https://github.com/rails/rails
Append missing 's' to #silence_warning call
This commit is contained in:
parent
789fa4d934
commit
8424f34289
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue