From eb4aba0052a0a51d26ec31640fc833e3848dc9e8 Mon Sep 17 00:00:00 2001 From: Kasper Timm Hansen Date: Sat, 11 Feb 2017 21:56:34 +0100 Subject: [ci skip] Fully qualify missing template error. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Switch extension 👉 format as it's more apt here. --- guides/source/layouts_and_rendering.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides') 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 -- cgit v1.2.3