diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-06 13:18:19 -0500 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-06 13:18:19 -0500 |
commit | 90223dcfc4c767c0d68acecf455cdaa5a5d141ee (patch) | |
tree | 49da6e8011de41bb413f077150d58ae173db16fd /web.go | |
parent | 56a7ab4da5d36e9311311c826c772bade7d031f0 (diff) |
Bug fix
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -59,6 +59,7 @@ func runWeb(*cli.Context) { // Routers. m.Get("/", routers.Home) m.Any("/user/login", binding.BindIgnErr(auth.LogInForm{}), user.SignIn) + m.Any("/user/logout", user.SignOut) m.Any("/user/sign_up", binding.BindIgnErr(auth.RegisterForm{}), user.SignUp) m.Get("/user/profile", user.Profile) // should be /username |