Skip to content

Commit 4cbe59c

Browse files
fix: typo in responses (#80)
1 parent 12ae96a commit 4cbe59c

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
@@ -20,7 +20,7 @@ Rails 7 specific frontend docs coming soon. For now, check out the official Iner
2020

2121
### Responses
2222

23-
Render Inertia responses is simple, just use the inertia renderer in your controller methods. The renderer excepts two arguments, the first is the name of the component you want to render from within your pages directory (without extension). The second argument is an options hash where you can provide `props` to your components. This options hash also allows you to pass `view_data` to your layout, but this is much less common.
23+
Render Inertia responses is simple, just use the inertia renderer in your controller methods. The renderer accepts two arguments, the first is the name of the component you want to render from within your pages directory (without extension). The second argument is an options hash where you can provide `props` to your components. This options hash also allows you to pass `view_data` to your layout, but this is much less common.
2424

2525
```ruby
2626
def index

0 commit comments

Comments
 (0)