Skip to content

Commit 39710b7

Browse files
committed
docs: link to configuration options
1 parent 7f84110 commit 39710b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ end
6363
In order to use instance props, you must call `use_inertia_instance_props` on the controller (or a base controller it inherits from). If any props are provided manually, instance props
6464
are automatically disabled for that response. Instance props are only included if they are defined after the before filter is set from `use_inertia_instance_props`.
6565

66-
Automatic component name is also opt in, you must set the `default_render` config value to `true`. Otherwise, you can simply `render inertia: true` for the same behavior explicitly.
66+
Automatic component name is also opt in, you must set the [`default_render`](#default_render) config value to `true`. Otherwise, you can simply `render inertia: true` for the same behavior explicitly.
6767

6868
### Layout
6969

@@ -132,7 +132,7 @@ end
132132
}
133133
```
134134

135-
Deep merging can be configured using the `deep_merge_shared_data` configuration option.
135+
Deep merging can be configured using the [`deep_merge_shared_data`](#deep_merge_shared_data) configuration option.
136136

137137
If deep merging is enabled, you can still opt-out within the action:
138138

@@ -182,7 +182,7 @@ inertia 'about' => 'AboutComponent'
182182

183183
### SSR _(experimental)_
184184

185-
Enable SSR via the configuration options for `ssr_enabled` and `ssr_url`.
185+
Enable SSR via the configuration options for [`ssr_enabled`](#ssr_enabled-experimental) and [`ssr_url`](#ssr_url-experimental).
186186

187187
When using SSR, don't forget to add `<%= inertia_ssr_head %>` to the `<head>` of your layout (i.e. `application.html.erb`).
188188

0 commit comments

Comments
 (0)