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_feed.go | |
parent | 4f62a704e2cb77e2c9d99c6f9fa45f3485cf0af7 (diff) |
Add toggle status button to entry page
Diffstat (limited to 'ui/entry_feed.go')
-rw-r--r-- | ui/entry_feed.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/entry_feed.go b/ui/entry_feed.go index 0ef4a11..be04e14 100644 --- a/ui/entry_feed.go +++ b/ui/entry_feed.go @@ -63,6 +63,8 @@ func (c *Controller) ShowFeedEntry(w http.ResponseWriter, r *http.Request) { html.ServerError(w, nil) return } + + entry.Status = model.EntryStatusRead } entryPaginationBuilder := storage.NewEntryPaginationBuilder(c.store, user.ID, entry.ID, user.EntryDirection) |