aboutsummaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorJames Anderson <james@jamesanderson.me>2014-04-23 15:30:18 -0400
committerJames Anderson <james@jamesanderson.me>2014-04-23 15:30:18 -0400
commit4b58c016038be87fa8d50c73cc064da216f10ec2 (patch)
tree7979ed37bb782374b008a7b1bb27e6c32e20fb26 /web.go
parentff690840d42fa069dcda7a55cda602bf11b40b06 (diff)
downloadgitea-4b58c016038be87fa8d50c73cc064da216f10ec2.tar.gz
gitea-4b58c016038be87fa8d50c73cc064da216f10ec2.zip
Changed setting url to settings
Diffstat (limited to 'web.go')
-rw-r--r--web.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/web.go b/web.go
index d8d5aba10d..23fa10796c 100644
--- a/web.go
+++ b/web.go
@@ -94,8 +94,8 @@ func runWeb(*cli.Context) {
m.Group("/user", func(r martini.Router) {
r.Get("/delete", user.Delete)
r.Post("/delete", user.DeletePost)
- r.Get("/setting", user.Setting)
- r.Post("/setting", bindIgnErr(auth.UpdateProfileForm{}), user.SettingPost)
+ r.Get("/settings", user.Setting)
+ r.Post("/settings", bindIgnErr(auth.UpdateProfileForm{}), user.SettingPost)
}, reqSignIn)
m.Group("/user", func(r martini.Router) {
r.Get("/feeds", middleware.Bind(auth.FeedsForm{}), user.Feeds)
@@ -105,7 +105,7 @@ func runWeb(*cli.Context) {
r.Post("/forget_password", user.ForgotPasswdPost)
r.Get("/logout", user.SignOut)
})
- m.Group("/user/setting", func(r martini.Router) {
+ m.Group("/user/settings", func(r martini.Router) {
r.Get("/social", user.SettingSocial)
r.Get("/password", user.SettingPassword)
r.Post("/password", bindIgnErr(auth.UpdatePasswdForm{}), user.SettingPasswordPost)