summaryrefslogtreecommitdiffstats
path: root/routers/routes
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2021-01-15 21:29:32 +0100
committerGitHub <noreply@github.com>2021-01-15 22:29:32 +0200
commit3091600cc866bb5236be991e764ad113b8f542a1 (patch)
tree815ee7accac74290faeb8a24f9b08e5bab2f8920 /routers/routes
parentc09e11d018c4a92dc83f58e6a6eacd6b085d3328 (diff)
downloadgitea-3091600cc866bb5236be991e764ad113b8f542a1.tar.gz
gitea-3091600cc866bb5236be991e764ad113b8f542a1.zip
KanBan: be able to set default board (#14147)
Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'routers/routes')
-rw-r--r--routers/routes/macaron.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/routes/macaron.go b/routers/routes/macaron.go
index d331e4ca83..34978724a8 100644
--- a/routers/routes/macaron.go
+++ b/routers/routes/macaron.go
@@ -800,6 +800,7 @@ func RegisterMacaronRoutes(m *macaron.Macaron) {
m.Group("/:boardID", func() {
m.Put("", bindIgnErr(auth.EditProjectBoardTitleForm{}), repo.EditProjectBoardTitle)
m.Delete("", repo.DeleteProjectBoard)
+ m.Post("/default", repo.SetDefaultProjectBoard)
m.Post("/:index", repo.MoveIssueAcrossBoards)
})