diff options
Diffstat (limited to 'ui/entry_unread.go')
-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 05e506d..021df72 100644 --- a/ui/entry_unread.go +++ b/ui/entry_unread.go @@ -99,5 +99,5 @@ func (c *Controller) ShowUnreadEntry(w http.ResponseWriter, r *http.Request) { // Fetching the counter here avoid to be off by one. view.Set("countUnread", c.store.CountUnreadEntries(user.ID)) - html.OK(w, view.Render("entry")) + html.OK(w, r, view.Render("entry")) } |