summaryrefslogtreecommitdiffstats
path: root/routers/repo/issue.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-22 14:27:03 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-22 14:27:03 -0400
commitb3cfd9fe0c293ba9d84d38ec140db2c01b1e3109 (patch)
treea3eae2bb9c9603209d16d51bed185011b35c8fb9 /routers/repo/issue.go
parente385efcc22665e9d84ffd7644abe58f30fe57e15 (diff)
downloadgitea-b3cfd9fe0c293ba9d84d38ec140db2c01b1e3109.tar.gz
gitea-b3cfd9fe0c293ba9d84d38ec140db2c01b1e3109.zip
Fix SSH key bug in windows
Diffstat (limited to 'routers/repo/issue.go')
-rw-r--r--routers/repo/issue.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go
index c6af8ca0bc..eee55c6fda 100644
--- a/routers/repo/issue.go
+++ b/routers/repo/issue.go
@@ -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 {
+
+ // }
+}