From 5341bbcbe27fd8a9e73f4eeb18319daf5421dcb4 Mon Sep 17 00:00:00 2001 From: Dave Z Date: Tue, 28 Aug 2018 23:44:34 -0400 Subject: Add toggle status button to entry page --- ui/entry_unread.go | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/entry_unread.go') diff --git a/ui/entry_unread.go b/ui/entry_unread.go index 68e5496..0a8c076 100644 --- a/ui/entry_unread.go +++ b/ui/entry_unread.go @@ -84,6 +84,7 @@ func (c *Controller) ShowUnreadEntry(w http.ResponseWriter, r *http.Request) { html.ServerError(w, nil) return } + entry.Status = model.EntryStatusRead sess := session.New(c.store, ctx) view := view.New(c.tpl, ctx, sess) -- cgit v1.2.3