From 8ee746ebde48575ac7ccab54c727f7a8ad3d4e25 Mon Sep 17 00:00:00 2001 From: akuma06 Date: Thu, 3 Aug 2017 03:55:44 +0200 Subject: [PATCH] fix redirection after announcement delete --- controllers/moderator/announcements.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/moderator/announcements.go b/controllers/moderator/announcements.go index 583b35da..d59d600c 100644 --- a/controllers/moderator/announcements.go +++ b/controllers/moderator/announcements.go @@ -131,5 +131,5 @@ func deleteAnnouncement(c *gin.Context) { c.AbortWithError(http.StatusInternalServerError, err) return } - c.Redirect(http.StatusSeeOther, "/mod/comments?deleted") + c.Redirect(http.StatusSeeOther, "/mod/announcement?deleted") }