diff options
author | Dave Z <dzaikos@users.noreply.github.com> | 2018-08-28 23:44:34 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2018-08-28 20:44:34 -0700 |
commit | 5341bbcbe27fd8a9e73f4eeb18319daf5421dcb4 (patch) | |
tree | 3e905f97ac2c4d086f990d674072e916d74fc081 /ui/entry_unread.go | |
parent | 4f62a704e2cb77e2c9d99c6f9fa45f3485cf0af7 (diff) |
Add toggle status button to entry page
Diffstat (limited to 'ui/entry_unread.go')
-rw-r--r-- | ui/entry_unread.go | 1 |
1 files changed, 1 insertions, 0 deletions
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) |