Small progress on adding collaborator

This commit is contained in:
Torkel Ödegaard
2014-09-18 12:03:46 +02:00
parent 4dfe8b6f69
commit 158b708eac
8 changed files with 77 additions and 21 deletions

View File

@ -53,6 +53,8 @@ func (self *HttpServer) ListenAndServe() {
// register default route
self.router.GET("/", self.auth(), self.index)
self.router.GET("/dashboard/*_", self.auth(), self.index)
self.router.GET("/admin/*_", self.auth(), self.index)
self.router.GET("/account/*_", self.auth(), self.index)
self.router.Run(":" + self.port)
}