Skip to content
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ nav_order: 6

## main

* Fix outdated reference to preview layout configuration in docs.

*Lucas Geron*

* Allow ruby-head CI job to fail without failing workflow.

*Hakan Ensari*
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/previews.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ To set a custom layout for individual previews and the previews index page, set:
```ruby
# config/application.rb
# Set the default layout to app/views/layouts/component_preview.html.erb
config.view_component.default_preview_layout = "component_preview"
config.view_component.previews.default_layout = "component_preview"
```

## Preview paths
Expand Down
Loading