Navigation Menu

Skip to content

Commit

Permalink
[playframework#1057] Tutorial: wrong latest comment displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludovico Fischer committed Nov 18, 2011
1 parent d6f0b31 commit bc141b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions documentation/manual/guide3.textile
Expand Up @@ -91,7 +91,7 @@ bc. #{extends 'main.html' /}
${frontPost.comments.size() ?: 'no'}
comment${frontPost.comments.size().pluralize()}
#{if frontPost.comments}
, latest by ${frontPost.comments[0].author}
, latest by ${frontPost.comments[-1].author}
#{/if}
</span>
</div>
Expand Down Expand Up @@ -120,7 +120,7 @@ bc. #{extends 'main.html' /}
${oldPost.comments.size() ?: 'no'}
comment${oldPost.comments.size().pluralize()}
#{if oldPost.comments}
- latest by ${oldPost.comments[0].author}
- latest by ${oldPost.comments[-1].author}
#{/if}
</div>
</div>
Expand Down Expand Up @@ -164,7 +164,7 @@ bc. *{ Display a post in one of these modes: 'full', 'home' or 'teaser' }*
&nbsp;|&nbsp; ${_post.comments.size() ?: 'no'}
comment${_post.comments.size().pluralize()}
#{if _post.comments}
, latest by ${_post.comments[0].author}
, latest by ${_post.comments[-1].author}
#{/if}
</span>
#{/if}
Expand Down

0 comments on commit bc141b5

Please sign in to comment.