diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-14 17:12:28 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-14 17:12:28 +0800 |
commit | d18237850c6a4ae855b3f8592994c91462fcdb0a (patch) | |
tree | d379828e1cd31ad6db2f02d8ff3d01b9045b39a4 /web.go | |
parent | 398809b135742ad8a7441f65fa7d0ccec318bd91 (diff) | |
download | gitea-d18237850c6a4ae855b3f8592994c91462fcdb0a.tar.gz gitea-d18237850c6a4ae855b3f8592994c91462fcdb0a.zip |
add draft page for empty link
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -67,6 +67,8 @@ func runWeb(*cli.Context) { m.Any("/user/setting", auth.SignInRequire(true), binding.BindIgnErr(auth.UpdateProfileForm{}), user.Setting) m.Any("/user/setting/password", auth.SignInRequire(true), binding.BindIgnErr(auth.UpdatePasswdForm{}), user.SettingPassword) m.Any("/user/setting/ssh", auth.SignInRequire(true), binding.BindIgnErr(auth.AddSSHKeyForm{}), user.SettingSSHKeys) + m.Any("/user/setting/notification",auth.SignInRequire(true),user.SettingNotification) + m.Any("/user/setting/security",auth.SignInRequire(true),user.SettingSecurity) m.Get("/user/:username", auth.SignInRequire(false), user.Profile) |