diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/serve.go | 1 | ||||
-rw-r--r-- | cmd/web.go | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/cmd/serve.go b/cmd/serve.go index e19b5d78..5eac51f5 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 @@ -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) |