mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-03 12:05:59 +01:00
Fix typo.
This commit is contained in:
@@ -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)))
|
||||
})
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user