1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00
Files
go-inbucket/web/root_controller.go
James Hillyerd 71bb52a64a Added partial templates
mailbox/list now renders
2012-10-21 12:42:54 -07:00

12 lines
211 B
Go

package web
import (
"net/http"
)
func RootIndex(w http.ResponseWriter, req *http.Request, ctx *Context) (err error) {
return RenderTemplate("root/index.html", w, map[string]interface{}{
"ctx": ctx,
})
}