Fix typo.

This commit is contained in:
takezoe
2013-06-25 14:46:19 +09:00
parent 39dbe0402e
commit 0e2ccc7d0c

View File

@@ -62,12 +62,12 @@ trait IssuesControllerBase extends ControllerBase {
} getOrElse NotFound
}
// TODO requires users only and redable repository checking
// TODO requires users only and readable repository checking
get("/:owner/:repository/issues/new")( usersOnly {
issues.html.issueedit(getRepository(params("owner"), params("repository"), baseUrl).get)
})
// TODO requires users only and redable repository checking
// TODO requires users only and readable repository checking
post("/:owner/:repository/issues", form)( usersOnly { form =>
val owner = params("owner")
val repository = params("repository")
@@ -76,7 +76,7 @@ trait IssuesControllerBase extends ControllerBase {
saveIssue(owner, repository, context.loginAccount.get.userName, form.title, form.content)))
})
// TODO requires users only and redable repository checking
// TODO requires users only and readable repository checking
post("/:owner/:repository/issue_comments", commentForm)( usersOnly { form =>
val owner = params("owner")
val repository = params("repository")
@@ -85,4 +85,4 @@ trait IssuesControllerBase extends ControllerBase {
saveComment(owner, repository, context.loginAccount.get.userName, form.issueId, form.content)))
})
}
}