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.go23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/auth/routes.go b/src/auth/routes.go
deleted file mode 100644
index 5a28756..0000000
--- a/src/auth/routes.go
+++ /dev/null
@@ -1,23 +0,0 @@
-package auth
-
-import (
- "net/http"
-
- "gitlab.com/alexkavon/newsstand/src/server"
-)
-
-var Routes = server.Routes{
- server.Route{
- Name: "Register",
- Method: "GET",
- Path: "/auth/register",
- AuthRequired: false,
- HandlerFunc: Register,
- },
-}
-
-func Register(s *server.Server) http.HandlerFunc {
- return func(w http.ResponseWriter, r *http.Request) {
- s.Ui.Render(w, "auth/register", nil)
- }
-}