aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorutilum <oz@utilum.com>2018-01-22 22:11:57 +0100
committerutilum <oz@utilum.com>2018-01-22 22:12:28 +0100
commit4819b2a0ec84511a8fe87213b1e1befa21584a7c (patch)
tree696969d5420a609f69c89d4d5df4584c0b8cf3a6 /guides
parent742c9ba92ac5aaa3adcbdc9bf708b1e578ce66f6 (diff)
downloadrails-4819b2a0ec84511a8fe87213b1e1befa21584a7c.tar.gz
rails-4819b2a0ec84511a8fe87213b1e1befa21584a7c.tar.bz2
rails-4819b2a0ec84511a8fe87213b1e1befa21584a7c.zip
Update guide text not to contradict image
The bottom line in the image of `ActionController::UnknownFormat`is not truncated. Now the text does not say it is. [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/getting_started.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md
index b007baea87..e30909aa62 100644
--- a/guides/source/getting_started.md
+++ b/guides/source/getting_started.md
@@ -462,8 +462,7 @@ You're getting this error now because Rails expects plain actions like this one
to have views associated with them to display their information. With no view
available, Rails will raise an exception.
-In the above image, the bottom line has been truncated. Let's see what the full
-error message looks like:
+Let's look at the full error message looks again:
>ArticlesController#new is missing a template for this request format and variant. request.formats: ["text/html"] request.variant: [] NOTE! For XHR/Ajax or API requests, this action would normally respond with 204 No Content: an empty white screen. Since you're loading it in a web browser, we assume that you expected to actually render a template, not… nothing, so we're showing an error to be extra-clear. If you expect 204 No Content, carry on. That's what you'll get from an XHR or API request. Give it a shot.