Add issue comment update in stub.

This commit is contained in:
shimamoto
2013-06-26 20:43:39 +09:00
parent 10a1a21d64
commit 7f429f60e8
3 changed files with 49 additions and 22 deletions

View File

@@ -87,6 +87,10 @@ trait IssuesControllerBase extends ControllerBase {
// TODO Authenticator
post("/:owner/:repository/issue_comments/:id"){
// TODO update issue memo
contentType = formats("json")
org.json4s.jackson.Serialization.write(Map(
"content" -> view.Markdown.toHtml("* hoge memo", getRepository("root", "test", baseUrl).get, false, true, true)))
}
// TODO Authenticator