1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-09-15 18:57:04 +00:00

Add toggle status button to entry page

This commit is contained in:
Dave Z 2018-08-28 23:44:34 -04:00 committed by Frédéric Guillot
parent 4f62a704e2
commit 5341bbcbe2
11 changed files with 57 additions and 30 deletions

View file

@ -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)