Skip to content

Commit 8a6e1bc

Browse files
authored
fix outdated settings related to default layout preview
1 parent 16a73e2 commit 8a6e1bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/previews.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ To set a custom layout for individual previews and the previews index page, set:
110110
```ruby
111111
# config/application.rb
112112
# Set the default layout to app/views/layouts/component_preview.html.erb
113-
config.view_component.default_preview_layout = "component_preview"
113+
config.view_component.previews.default_layout = "component_preview"
114114
```
115115

116116
## Preview paths

0 commit comments

Comments
 (0)