aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/layouts_and_rendering.md
diff options
context:
space:
mode:
authorSantosh Wadghule <santosh.wadghule@gmail.com>2016-03-03 20:08:13 +0530
committerSantosh Wadghule <santosh.wadghule@gmail.com>2016-03-03 20:28:01 +0530
commitea36c579c617c0bfb0ea49c8dea18a7419c45876 (patch)
treea844bcf8509113d62ea512ee5ce995b888c62c3f /guides/source/layouts_and_rendering.md
parent4328e4b5930d5d89cc83c7693c212e4bb9b0a7d0 (diff)
downloadrails-ea36c579c617c0bfb0ea49c8dea18a7419c45876.tar.gz
rails-ea36c579c617c0bfb0ea49c8dea18a7419c45876.tar.bz2
rails-ea36c579c617c0bfb0ea49c8dea18a7419c45876.zip
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.md2
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