Merge remote-tracking branch 'origin/master'

This commit is contained in:
takezoe
2013-07-02 21:26:20 +09:00
4 changed files with 40 additions and 5 deletions

View File

@@ -115,6 +115,16 @@ trait IssuesControllerBase extends ControllerBase {
redirect("/%s/%s/issues/_data/%d".format(owner, repository, issueId))
}
// TODO Authenticator
ajaxPost("/:owner/:repository/issues/:id/label/:labelId/new"){
"TODO Insert!"
}
// TODO Authenticator
ajaxPost("/:owner/:repository/issues/:id/label/:labelId/delete"){
"TODO Delete!"
}
// TODO requires users only and readable repository checking
post("/:owner/:repository/issue_comments/new", commentForm)( usersOnly { form =>
val owner = params("owner")