Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Swap false for "turbo_rails/frame"
  • Loading branch information
khall authored May 16, 2024
1 parent e376852 commit 8e39c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ If you are using a custom, but "static" layout,
layout "some_static_layout"
```

you **have** to change it to a layout method in order to conditionally return `false` for turbo frame requests:
you **have** to change it to a layout method in order to conditionally return `"turbo_rails/frame"` for turbo frame requests:

```ruby
layout :custom_layout
Expand Down

0 comments on commit 8e39c86

Please sign in to comment.