1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-18 01:57:02 +00:00

Implement recent mailboxes feature

This commit is contained in:
James Hillyerd
2016-02-20 20:55:02 -08:00
parent e72c5c4b92
commit ef5a10457e
3 changed files with 50 additions and 1 deletions

View File

@@ -49,6 +49,9 @@ func MailboxIndex(w http.ResponseWriter, req *http.Request, ctx *Context) (err e
return nil
}
// Remember this mailbox was visited
RememberMailbox(ctx, name)
return RenderTemplate("mailbox/index.html", w, map[string]interface{}{
"ctx": ctx,
"name": name,