Skip to content

Commit

Permalink
Fix layout declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
shootingfly committed Aug 8, 2020
1 parent bbbe0a6 commit 2ebe0e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit 2ebe0e5

Please sign in to comment.