working on account registration and more

This commit is contained in:
Torkel Ödegaard
2014-08-22 18:05:37 +02:00
parent c684b1ddab
commit 31fe471da5
9 changed files with 137 additions and 30 deletions
+2 -2
View File
@@ -51,8 +51,8 @@ func (self *HttpServer) ListenAndServe() {
}
// register default route
self.router.GET("/", self.authMiddleware(), self.index)
self.router.GET("/dashboard/*_", self.authMiddleware(), self.index)
self.router.GET("/", self.auth(), self.index)
self.router.GET("/dashboard/*_", self.auth(), self.index)
self.router.Run(":" + self.port)
}