Skip to content

Commit fa04a48

Browse files
committed
test
1 parent 46517fb commit fa04a48

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/docs-preview.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: Documentation Preview
22

3+
permissions:
4+
contents: write
5+
pages: write
6+
id-token: write
7+
38
on:
49
pull_request:
510
types:

docs/guide/asset-versioning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
One common challenge when building single-page apps is refreshing site assets when they've been changed. Thankfully, Inertia makes this easy by optionally tracking the current version of your site assets. When an asset changes, Inertia will automatically make a full page visit instead of a XHR visit on the next request.
44

5-
## Configuration
5+
## Configuration!
66

77
To enable automatic asset refreshing, you need to tell Inertia the current version of your assets using the `InertiaRails.configure` method and setting the `config.version` property. This can be any arbitrary string (letters, numbers, or a file hash), as long as it changes when your assets have been updated.
88

0 commit comments

Comments
 (0)