Fix Media Articlrd
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 8s
Gitea Actions Demo / build-and-test (push) Failing after 1m2s

This commit is contained in:
2026-11-01 04:06:17 +01:00
parent f9b7e20841
commit f75dd3a9fb
9 changed files with 75 additions and 27 deletions
+3 -3
View File
@@ -79,7 +79,7 @@ func (handler *MediaActorHandler) ListPage(c *gin.Context) {
}
data := globals.GetDefaultValues(user, "MediaActors...")
data["actors"] = actors
c.HTML(http.StatusOK, "mediaactors", data)
c.HTML(http.StatusOK, "media_actors", data)
}
func (handler *MediaActorHandler) EditPage(c *gin.Context) {
@@ -120,7 +120,7 @@ func (handler *MediaActorHandler) UpdatePage(c *gin.Context) {
}
logger.Info("MediaActorHandler#UpdatePage", "actor", actor)
//handler.Service.Update(c.Request.Context(), form.ConvertFormToMediaLofiDTO())
c.Redirect(http.StatusFound, "web/actors")
c.Redirect(http.StatusFound, globals.MediaActorLink)
}
func (handler *MediaActorHandler) DeletePage(c *gin.Context) {
@@ -135,5 +135,5 @@ func (handler *MediaActorHandler) DeletePage(c *gin.Context) {
// return
// }
logger.Info("MediaActorHandler#DeletePage", "actor", id)
c.Redirect(http.StatusFound, "web/actors")
c.Redirect(http.StatusFound, globals.MediaActorLink)
}