aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ui/entry_unread.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/entry_unread.go b/ui/entry_unread.go
index fb8d45c..414b8e8 100644
--- a/ui/entry_unread.go
+++ b/ui/entry_unread.go
@@ -35,7 +35,7 @@ func (h *handler) showUnreadEntryPage(w http.ResponseWriter, r *http.Request) {
}
if entry == nil {
- html.NotFound(w, r)
+ html.Redirect(w, r, route.Path(h.router, "unread"))
return
}