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, 4 insertions, 0 deletions
diff --git a/cmd/web/handlers.go b/cmd/web/handlers.go
index bfe73dd..d4ac91c 100644
--- a/cmd/web/handlers.go
+++ b/cmd/web/handlers.go
@@ -58,6 +58,10 @@ func (app *application) home(w http.ResponseWriter, r *http.Request) {
}
}
+func (app *application) organisationView(w http.ResponseWriter, r *http.Request) {
+ w.Write([]byte("This is an organisation"))
+}
+
func (app *application) organisationCreate(w http.ResponseWriter, r *http.Request) {
if r.Method != http.MethodPost {
w.Header().Set("Allow", http.MethodPost)