aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/admin/handler.go
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-08 21:22:50 +0900
committernsfisis <nsfisis@gmail.com>2024-08-08 21:22:50 +0900
commit93f2ffc18d1d86bd2999533e8d904c92cb29bc1a (patch)
treee38ec866b6972966d31dde84f07a1141d854c704 /backend/admin/handler.go
parenta100dc8ba76aaeda2229940c1743c33cc0ef84b5 (diff)
downloadiosdc-japan-2024-albatross-93f2ffc18d1d86bd2999533e8d904c92cb29bc1a.tar.gz
iosdc-japan-2024-albatross-93f2ffc18d1d86bd2999533e8d904c92cb29bc1a.tar.zst
iosdc-japan-2024-albatross-93f2ffc18d1d86bd2999533e8d904c92cb29bc1a.zip
fix(backend): fix admin game edit page
Diffstat (limited to 'backend/admin/handler.go')
-rw-r--r--backend/admin/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/admin/handler.go b/backend/admin/handler.go
index 111476b..b50b942 100644
--- a/backend/admin/handler.go
+++ b/backend/admin/handler.go
@@ -261,5 +261,5 @@ func (h *Handler) postGameEdit(c echo.Context) error {
return echo.NewHTTPError(http.StatusInternalServerError, err.Error())
}
- return c.NoContent(http.StatusNoContent)
+ return c.Redirect(http.StatusSeeOther, c.Request().URL.Path)
}