Finish issue assignee
This commit is contained in:
parent
a196245a87
commit
68fb62347f
6 changed files with 56 additions and 23 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue