diff options
Diffstat (limited to 'ui/entry_read.go')
-rw-r--r-- | ui/entry_read.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/entry_read.go b/ui/entry_read.go index 9b98ab2..2f89119 100644 --- a/ui/entry_read.go +++ b/ui/entry_read.go @@ -78,5 +78,5 @@ func (c *Controller) ShowReadEntry(w http.ResponseWriter, r *http.Request) { view.Set("countUnread", c.store.CountUnreadEntries(user.ID)) view.Set("hasSaveEntry", c.store.HasSaveEntry(user.ID)) - html.OK(w, view.Render("entry")) + html.OK(w, r, view.Render("entry")) } |