Merge pull request #21433 from y-yagi/fix_typo

fix typo in method name [ci skip]
This commit is contained in:
Kasper Timm Hansen 2015-08-30 16:22:51 +02:00
commit 1a432cd8aa

@ -1029,7 +1029,7 @@ There are a couple of things to notice in the above example. We need to make
sure to close the response stream. Forgetting to close the stream will leave
the socket open forever. We also have to set the content type to `text/event-stream`
before we write to the response stream. This is because headers cannot be written
after the response has been committed (when `response.committed` returns a truthy
after the response has been committed (when `response.committed?` returns a truthy
value), which occurs when you `write` or `commit` the response stream.
#### Example Usage