diff options
author | Xavier Noria <fxn@hashref.com> | 2016-03-03 07:23:45 -0800 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2016-03-03 07:23:45 -0800 |
commit | ba438dbfaed4d6bc62ffc519993770753eb74259 (patch) | |
tree | b38561c2d42191e323a5c816591cb7dbfcf3c450 /guides/source/layouts_and_rendering.md | |
parent | 3009fa1e089ff1133ce95c767063ca9f9cdb130f (diff) | |
parent | ea36c579c617c0bfb0ea49c8dea18a7419c45876 (diff) | |
download | rails-ba438dbfaed4d6bc62ffc519993770753eb74259.tar.gz rails-ba438dbfaed4d6bc62ffc519993770753eb74259.tar.bz2 rails-ba438dbfaed4d6bc62ffc519993770753eb74259.zip |
Merge pull request #24027 from mechanicles/a-to-an
Change 'a HTTP' to 'an HTTP' [ci skip]
Diffstat (limited to 'guides/source/layouts_and_rendering.md')
-rw-r--r-- | guides/source/layouts_and_rendering.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/layouts_and_rendering.md b/guides/source/layouts_and_rendering.md index 83173e8d75..614ca4dbe1 100644 --- a/guides/source/layouts_and_rendering.md +++ b/guides/source/layouts_and_rendering.md @@ -700,7 +700,7 @@ This would detect that there are no books with the specified ID, populate the `@ ### Using `head` To Build Header-Only Responses -The `head` method can be used to send responses with only headers to the browser. The `head` method accepts a number or symbol (see [reference table](#the-status-option)) representing a HTTP status code. The options argument is interpreted as a hash of header names and values. For example, you can return only an error header: +The `head` method can be used to send responses with only headers to the browser. The `head` method accepts a number or symbol (see [reference table](#the-status-option)) representing an HTTP status code. The options argument is interpreted as a hash of header names and values. For example, you can return only an error header: ```ruby head :bad_request |