summaryrefslogtreecommitdiffstats
path: root/cmd/web/handlers.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/web/handlers.go')
-rw-r--r--cmd/web/handlers.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd/web/handlers.go b/cmd/web/handlers.go
index 40ca509..e27b39b 100644
--- a/cmd/web/handlers.go
+++ b/cmd/web/handlers.go
@@ -4,7 +4,6 @@ import (
"errors"
"fmt"
"html/template"
- "log"
"net/http"
"strconv"
@@ -34,7 +33,6 @@ func (app *application) listOperations(w http.ResponseWriter, r *http.Request) {
data := operationsTemplateData{
Operations: ops,
}
- log.Println(data)
err = ts.ExecuteTemplate(w, "base", data)
if err != nil {
@@ -42,7 +40,7 @@ func (app *application) listOperations(w http.ResponseWriter, r *http.Request) {
}
}
-func (app *application) listOrganisation(w http.ResponseWriter, r *http.Request) {
+func (app *application) listOrganisations(w http.ResponseWriter, r *http.Request) {
files := []string{
"./ui/html/base.tmpl.html",
"./ui/html/pages/organisations/list.tmpl.html",