Skip to content

Commit

Permalink
Merge pull request #6 from laribee/master
Browse files Browse the repository at this point in the history
Typo
  • Loading branch information
bsiggelkow committed Nov 9, 2011
2 parents 8507d61 + 6877d0d commit c59dd29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -43,7 +43,7 @@ Let's assume this this is your main template, `index.jsonify`:
json.ingest! (render :partial=>'my_partial')

From the first line, you can tell that an array will be created as this line uses the append operator.
On the second line, a partial is being added to the builder. Note that you cannot simply place `render :parial ...` on a line by itself as you can do with other templates like `erb` and `haml`. You have to explicitly tell Jsonify to add it to the builder.
On the second line, a partial is being added to the builder. Note that you cannot simply place `render :partial ...` on a line by itself as you can do with other templates like `erb` and `haml`. You have to explicitly tell Jsonify to add it to the builder.

Let's say that the partial file, `_my_partial.jsonify`, is as follows:

Expand Down

0 comments on commit c59dd29

Please sign in to comment.