Skip to content

Commit

Permalink
Add missing trailing comma
Browse files Browse the repository at this point in the history
  • Loading branch information
brikou committed Mar 9, 2016
1 parent b4ee818 commit 000cb82
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/Relationships.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,10 @@ When displaying a post:
// ...
nga.field('comments', 'embedded_list') // Define a 1-N relationship with the (embedded) comment entity
.targetFields([ // which comment fields to display in the datagrid / form
nga.field('date', 'date').label('Posted')
nga.field('body')
])
nga.field('date', 'date').label('Posted'),
nga.field('body'),
]),
// ...
]);

![embedded_list in showView](images/embedded_list_in_showView.png)
Expand Down

0 comments on commit 000cb82

Please sign in to comment.