mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-18 01:57:02 +00:00
The main index template renders now!
This commit is contained in:
9
web/root_controller.go
Normal file
9
web/root_controller.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package web
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func RootIndex(w http.ResponseWriter, req *http.Request, ctx *Context) (err error) {
|
||||
return T("root-index.html").Execute(w, nil)
|
||||
}
|
||||
Reference in New Issue
Block a user