Browse Source

minor fix

for-closed-social
slene 10 years ago
parent
commit
1c01db4019
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      web.go

+ 1
- 1
web.go View File

@ -95,7 +95,7 @@ func runWeb(*cli.Context) {
m.Group("/user", func(r martini.Router) {
r.Any("/login", binding.BindIgnErr(auth.LogInForm{}), user.SignIn)
r.Any("/sign_up", reqSignOut, binding.BindIgnErr(auth.RegisterForm{}), user.SignUp)
r.Any("/sign_up", binding.BindIgnErr(auth.RegisterForm{}), user.SignUp)
}, reqSignOut)
m.Group("/user", func(r martini.Router) {
r.Any("/logout", user.SignOut)

Loading…
Cancel
Save