Skip to content

Commit

Permalink
docs: link to configuration options
Browse files Browse the repository at this point in the history
  • Loading branch information
ElMassimo committed Jun 26, 2024
1 parent 7f84110 commit d52201a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ end
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
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`.

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.
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.

### Layout

Expand Down Expand Up @@ -132,7 +132,7 @@ end
}
```

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

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

Expand Down Expand Up @@ -182,7 +182,7 @@ inertia 'about' => 'AboutComponent'

### SSR _(experimental)_

Enable SSR via the configuration options for `ssr_enabled` and `ssr_url`.
Enable SSR via the configuration options for [`ssr_enabled`](#ssr_enabled) and [`ssr_url`](#ssr_url).

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

Expand Down

0 comments on commit d52201a

Please sign in to comment.