diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/entry_unread.go | 2 |
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 } |