forked from forgejo/forgejo
Fix SSH key bug in windows
This commit is contained in:
parent
e385efcc22
commit
b3cfd9fe0c
6 changed files with 40 additions and 24 deletions
|
@ -28,3 +28,13 @@ func Issues(ctx *middleware.Context, params martini.Params) {
|
|||
|
||||
ctx.HTML(200, "repo/issues")
|
||||
}
|
||||
|
||||
func CreateIssue(ctx *middleware.Context, params martini.Params) {
|
||||
if !ctx.Repo.IsOwner {
|
||||
ctx.Error(404)
|
||||
return
|
||||
}
|
||||
// else if err = models.CreateIssue(userId, repoId, milestoneId, assigneeId, name, labels, mentions, content, isPull); err != nil {
|
||||
|
||||
// }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue