Skip to content

Commit 355e5ba

Browse files
committed
added an 'a' to Jbuilder section
1 parent ff564e8 commit 355e5ba

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
@@ -226,7 +226,7 @@ Note that the arguments for `oneOf` and `oneOfType` must be enclosed in single q
226226

227227
### Jbuilder & react-rails
228228

229-
If you use Jbuilder to pass JSON string to `react_component`, make sure your JSON is a stringified hash, not an array. This is not the Rails default -- you should add the root node yourself. For example:
229+
If you use Jbuilder to pass a JSON string to `react_component`, make sure your JSON is a stringified hash, not an array. This is not the Rails default -- you should add the root node yourself. For example:
230230

231231
```ruby
232232
# BAD: returns a stringified array

0 commit comments

Comments
 (0)