summaryrefslogtreecommitdiffstats
path: root/cmd/web.go
diff options
context:
space:
mode:
authorAndrey Nering <andrey.nering@gmail.com>2016-12-29 12:58:24 -0200
committerLunny Xiao <xiaolunwen@gmail.com>2016-12-29 22:58:24 +0800
commitb9928588834a9aad1771ba79f1d6638cdc29904a (patch)
tree790d6d87a1565076a1fd06d28618d465366b9350 /cmd/web.go
parent2d1a1fce934cb87cc67b85083d342b14bb52b780 (diff)
downloadgitea-b9928588834a9aad1771ba79f1d6638cdc29904a.tar.gz
gitea-b9928588834a9aad1771ba79f1d6638cdc29904a.zip
Tab on user profile to show starred repos (#519)
* Tab on user profile to show starred repos * Make golint happy and use transactions on StarRepo function * x -> sess * Use sess.Close() instead of sess.Rollback() * Add copyright * Fix lint
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 45d198fdfb..7dfd19d640 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -273,7 +273,6 @@ func runWeb(ctx *cli.Context) error {
m.Get("", user.Profile)
m.Get("/followers", user.Followers)
m.Get("/following", user.Following)
- m.Get("/stars", user.Stars)
})
m.Get("/attachments/:uuid", func(ctx *context.Context) {