Files
gothermal/faxSrc/controllers/editor.go
T

17 lines
231 B
Go

package controllers
import (
"net/http"
"thermalFax/views"
)
func EditorPage(w http.ResponseWriter, r *http.Request) {
authd, _ := isAuthenticated(r)
if !authd {
views.LoginPage(w, r)
return
}
views.EditorPage(w, r)
}