From 2ebe0e58b0725d8dc86e5e7d2c63e8cd545eedda Mon Sep 17 00:00:00 2001 From: Shootingfly Date: Sun, 9 Aug 2020 02:09:19 +0800 Subject: [PATCH] Fix layout declaration --- docs/view.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/view.md b/docs/view.md index 3fe369f..76b6ac4 100644 --- a/docs/view.md +++ b/docs/view.md @@ -13,7 +13,7 @@ This is because the views are compiled in the same scope as the action. You can override the default layout conventions in your actions by using the layout declaration. For example: ```crystal class BaseAction - LAYOUT = "application.jbuilder" + layout "application" #... end ```