Developing, yo
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
"thermalFax/views"
|
||||
)
|
||||
|
||||
func EditorPage(w http.ResponseWriter, r *http.Request) {
|
||||
if !isAuthenticated(r) {
|
||||
views.LoginPage(w, r)
|
||||
return
|
||||
}
|
||||
|
||||
views.EditorPage(w, r)
|
||||
}
|
||||
Reference in New Issue
Block a user