This commit is contained in:
Unknown 2014-03-03 19:03:08 -05:00
parent fea660f1d7
commit e59f90b8fe
10 changed files with 45 additions and 29 deletions

6
web.go
View file

@ -53,11 +53,9 @@ func runWeb(*cli.Context) {
// Routers.
m.Get("/", routers.Dashboard)
m.Any("/login", user.SignIn)
m.Any("/user/signin", user.SignIn)
m.Any("/user/login", user.SignIn)
m.Any("/sign-up", user.SignUp)
m.Any("/user/signup", user.SignUp)
m.Any("/user/sign_up", user.SignUp)
m.Get("/user/profile", user.Profile) // should be /username
m.Any("/user/delete", user.Delete)