From 68fb62347ff93517015eab8036d45625e63de8d2 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 11 May 2014 13:46:36 -0400 Subject: Finish issue assignee --- cmd/serve.go | 1 - cmd/web.go | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') 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) -- cgit v1.2.3