summaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-14 17:12:28 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-14 17:12:28 +0800
commitd18237850c6a4ae855b3f8592994c91462fcdb0a (patch)
treed379828e1cd31ad6db2f02d8ff3d01b9045b39a4 /web.go
parent398809b135742ad8a7441f65fa7d0ccec318bd91 (diff)
downloadgitea-d18237850c6a4ae855b3f8592994c91462fcdb0a.tar.gz
gitea-d18237850c6a4ae855b3f8592994c91462fcdb0a.zip
add draft page for empty link
Diffstat (limited to 'web.go')
-rw-r--r--web.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/web.go b/web.go
index f416d96e86..8f698e39d7 100644
--- a/web.go
+++ b/web.go
@@ -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)