Fix added issue comment layout.

This commit is contained in:
shimamoto
2013-06-24 21:29:20 +09:00
parent 9baa09d68b
commit 4000469152
3 changed files with 26 additions and 12 deletions

View File

@@ -53,13 +53,15 @@ trait IssuesService {
def saveComment(owner: String, repository: String, loginUser: String,
issueId: Int, content: String) =
IssueComments.autoInc insert (
owner,
repository,
issueId,
loginUser,
content,
currentDate,
currentDate)
Query(IssueComments) filter {
_.commentId is ( IssueComments.autoInc insert (
owner,
repository,
issueId,
loginUser,
content,
currentDate,
currentDate) ).bind
} firstOption
}