Skip to content

Commit eea7679

Browse files
authored
Fix syntax highlighting in caching example (#521)
1 parent 9553f12 commit eea7679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ end
285285
Aside from that, the `:cached` options on collection rendering is available on Rails >= 6.0. This will cache the
286286
rendered results effectively using the multi fetch feature.
287287

288-
```
288+
```ruby
289289
json.array! @posts, partial: "posts/post", as: :post, cached: true
290290

291291
# or:

0 commit comments

Comments
 (0)