aboutsummaryrefslogtreecommitdiff
path: root/src/auth/routes.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/auth/routes.go')
-rw-r--r--src/auth/routes.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auth/routes.go b/src/auth/routes.go
index 796d123..4f161de 100644
--- a/src/auth/routes.go
+++ b/src/auth/routes.go
@@ -25,7 +25,7 @@ func Register(s *server.Server) http.HandlerFunc {
if err != nil {
log.Fatal(err)
}
- tmpl := template.Must(template.ParseFiles(cwd + "/views/templates/main.tmpl.html"))
- tmpl.Execute(w, nil)
+ tmpl := template.Must(template.ParseFiles(cwd+"/ui/templates/base.tmpl.html", cwd+"/ui/pages/auth/register.tmpl.html"))
+ tmpl.ExecuteTemplate(w, "base", nil)
}
}