diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2017-02-11 21:56:34 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2017-02-11 21:58:36 +0100 |
commit | eb4aba0052a0a51d26ec31640fc833e3848dc9e8 (patch) | |
tree | f2b4626491c144d8d731e707d19d1c28ff0144ee | |
parent | 40ae9a916f8466b19250f12923b3c26643b8e6b9 (diff) | |
download | rails-eb4aba0052a0a51d26ec31640fc833e3848dc9e8.tar.gz rails-eb4aba0052a0a51d26ec31640fc833e3848dc9e8.tar.bz2 rails-eb4aba0052a0a51d26ec31640fc833e3848dc9e8.zip |
[ci skip] Fully qualify missing template error.
Switch extension 👉 format as it's more apt here.
-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 5a3fadde40..48bb3147f3 100644 --- a/guides/source/layouts_and_rendering.md +++ b/guides/source/layouts_and_rendering.md @@ -411,7 +411,7 @@ render formats: :xml render formats: [:json, :xml] ``` -If a file with the specified extension does not exist, a `MissingTemplate` error will be raised. +If a template with the specified format does not exist an `ActionView::MissingTemplate` error is raised. #### Finding Layouts |