diff options
author | Rob Richards <goodeveningthisisrobrichards@gmail.com> | 2017-03-23 11:57:43 -0500 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2017-03-23 12:57:43 -0400 |
commit | 902372067cad9cfe7360473d1b985217a308a949 (patch) | |
tree | fd8ea405312907007e1b8f25e029672e0127c052 /cmd | |
parent | 7adaf8f8122f1f6f28c28abbd652bec1490523b0 (diff) |
user/settings: add repositories panel (#4312)
* Add Repositories panel to user settings
issue #4277
* modified personal repo settings format
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -255,7 +255,10 @@ func runWeb(ctx *cli.Context) error { m.Get("", user.SettingsOrganizations) m.Post("/leave", user.SettingsLeaveOrganization) }) - + m.Group("/repos", func() { + m.Get("", user.SettingsRepos) + m.Post("/delete", user.SettingsDeleteRepo) + }) m.Route("/delete", "GET,POST", user.SettingsDelete) }, reqSignIn, func(ctx *context.Context) { ctx.Data["PageIsUserSettings"] = true |