diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-03 19:03:08 -0500 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-03 19:03:08 -0500 |
commit | e59f90b8fee3e615d1b60067bfc0d636606899d8 (patch) | |
tree | e37db19d1492235875259f34ed08506f74631270 /web.go | |
parent | fea660f1d787f353f06632982861000c9078da2e (diff) | |
download | gitea-e59f90b8fee3e615d1b60067bfc0d636606899d8.tar.gz gitea-e59f90b8fee3e615d1b60067bfc0d636606899d8.zip |
Update
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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) |