Add comments to issue.

This commit is contained in:
shimamoto
2013-06-25 13:18:53 +09:00
parent 34b71c10cb
commit 1a4510201f
3 changed files with 26 additions and 4 deletions

View File

@@ -46,7 +46,10 @@ trait IssuesControllerBase extends ControllerBase {
val issueId = params("id")
getIssue(owner, repository, issueId) map {
issues.html.issue(_, getRepository(owner, repository, baseUrl).get)
issues.html.issue(
_,
getComment(owner, repository, issueId.toInt),
getRepository(owner, repository, baseUrl).get)
} getOrElse NotFound
}