Skip to content

Commit

Permalink
fix dead link
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev committed May 9, 2024
1 parent 23d4342 commit e1512dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/3.0/cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ You can take control and override it on that particular resource to take the ass

### `root_path` change won't break the cache keys

When the rows are cached, the links from the controls, [`belongs_to`](./associations/belongs_to) and [`record_link`]('./fields/record_link') fields, and maybe others will be cached along.
When the rows are cached, the links from the controls, [`belongs_to`](./associations/belongs_to) and [`record_link`](./fields/record_link) fields, and maybe others will be cached along.

The best solution here is to clear the cache with this ruby command `Rails.cache.clear`. If that's not an option then you can try to add the `root_path` to the [`cache_hash`](./resources#cache_hash) method in your particular resource.

Expand Down

0 comments on commit e1512dd

Please sign in to comment.