Create issue comment.

This commit is contained in:
shimamoto
2013-06-24 19:57:16 +09:00
parent 36e5b11ec0
commit ecd049092e
3 changed files with 34 additions and 9 deletions

View File

@@ -51,4 +51,15 @@ trait IssuesService {
}.map(_.issueId).update(id) > 0
} get
def saveComment(owner: String, repository: String, loginUser: String,
issueId: Int, content: String) =
IssueComments.autoInc insert (
owner,
repository,
issueId,
loginUser,
content,
currentDate,
currentDate)
}