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:
parent
789fa4d934
commit
8424f34289
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue