summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-11 13:46:36 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-11 13:46:36 -0400
commit68fb62347ff93517015eab8036d45625e63de8d2 (patch)
tree3a5cfc65cac4c6ebdf63494a99b22b4fa147a84c /cmd
parenta196245a87d6e13fefc7c48b79a4157e05acde8c (diff)
downloadgitea-68fb62347ff93517015eab8036d45625e63de8d2.tar.gz
gitea-68fb62347ff93517015eab8036d45625e63de8d2.zip
Finish issue assignee
Diffstat (limited to 'cmd')
-rw-r--r--cmd/serve.go1
-rw-r--r--cmd/web.go1
2 files changed, 1 insertions, 1 deletions
diff --git a/cmd/serve.go b/cmd/serve.go
index e19b5d7879..5eac51f5e4 100644
--- a/cmd/serve.go
+++ b/cmd/serve.go
@@ -177,7 +177,6 @@ func runServ(k *cli.Context) {
models.SetRepoEnvs(user.Id, user.Name, repoName, repoUserName)
gitcmd := exec.Command(verb, repoPath)
- println(base.RepoRootPath)
gitcmd.Dir = base.RepoRootPath
gitcmd.Stdout = os.Stdout
gitcmd.Stdin = os.Stdin
diff --git a/cmd/web.go b/cmd/web.go
index 6ff819f62b..9a42b27a11 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -184,6 +184,7 @@ func runWeb(*cli.Context) {
r.Get("/issues/new", repo.CreateIssue)
r.Post("/issues/new", bindIgnErr(auth.CreateIssueForm{}), repo.CreateIssuePost)
r.Post("/issues/:index", bindIgnErr(auth.CreateIssueForm{}), repo.UpdateIssue)
+ r.Post("/issues/:index/assignee", repo.UpdateAssignee)
r.Get("/issues/milestones", repo.Milestones)
r.Get("/issues/milestones/new", repo.NewMilestones)
r.Post("/comment/:action", repo.Comment)