Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 settings related to default layout preview.

*Lucas Geron*

* Make `ViewComponent::VERSION` accessible to other gems by default.

*Hans Lemuet*
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