Skip to content

Commit 159b144

Browse files
committed
Clarify Rails docs
1 parent 283f0d9 commit 159b144

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

docs/rails-utils.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ Superglue typically requires 3 templates.
88
```
99
app/views/
1010
posts/
11-
index.html.erb # typically duplicated
11+
index.html.erb # duplicated
1212
index.jsx
1313
index.json.props
1414
users/
15-
index.html.erb
15+
index.html.erb # duplicated
1616
index.jsx
1717
index.json.props
1818
```
@@ -46,15 +46,13 @@ app/views
4646
index.json.props
4747
```
4848

49-
and allow for `props` files for cases where you don't need props.
49+
and omit `props` files for cases when there is no content.
5050

5151
```
5252
app/views
5353
application/
5454
superglue.html.erb
55-
posts/
56-
index.jsx
57-
users/
55+
about/
5856
index.jsx
5957
```
6058

0 commit comments

Comments
 (0)