aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/unread_mark_all_read.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/unread_mark_all_read.go')
-rw-r--r--ui/unread_mark_all_read.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/unread_mark_all_read.go b/ui/unread_mark_all_read.go
index c467923..724da67 100644
--- a/ui/unread_mark_all_read.go
+++ b/ui/unread_mark_all_read.go
@@ -8,7 +8,7 @@ import (
"net/http"
"miniflux.app/http/request"
- "miniflux.app/http/response"
+ "miniflux.app/http/response/html"
"miniflux.app/http/route"
"miniflux.app/logger"
)
@@ -19,5 +19,5 @@ func (c *Controller) MarkAllAsRead(w http.ResponseWriter, r *http.Request) {
logger.Error("[MarkAllAsRead] %v", err)
}
- response.Redirect(w, r, route.Path(c.router, "unread"))
+ html.Redirect(w, r, route.Path(c.router, "unread"))
}