Skip to content

Commit

Permalink
fix rating in meta description
Browse files Browse the repository at this point in the history
  • Loading branch information
flugsio committed Dec 10, 2014
1 parent 36561de commit f5e87b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templating/UserHelper.scala
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ trait UserHelper { self: I18nHelper with StringHelper =>
val nbGames = user.count.game
val createdAt = org.joda.time.format.DateTimeFormat forStyle "M-" print user.createdAt
val currentRating = user.perfs.bestPerf ?? {
case (pt, perf) => s" Current ${pt.name} rating: $perf."
case (pt, perf) => s" Current ${pt.name} rating: ${perf.intRating}."
}
s"$name played $nbGames games since $createdAt.$currentRating"
}
Expand Down

0 comments on commit f5e87b5

Please sign in to comment.