(refs #33)Small fix for pull request #45.

This commit is contained in:
takezoe
2013-07-22 12:25:28 +09:00
parent be78d93c1f
commit 5a9645829d
2 changed files with 5 additions and 7 deletions

View File

@@ -62,12 +62,9 @@ trait IssuesControllerBase extends ControllerBase {
val issueId = params("id")
getIssue(owner, name, issueId) map {
val comments = getComments(owner, name, issueId.toInt)
val participantSet = comments.foldRight(Set(owner)) { (comment, set) => set + comment.commentedUserName }
issues.html.issue(
_,
comments,
participantSet,
getComments(owner, name, issueId.toInt),
getIssueLabels(owner, name, issueId.toInt),
(getCollaborators(owner, name) :+ owner).sorted,
getMilestones(owner, name),