diff options
author | fuxiaohei <fuxiaohei@vip.qq.com> | 2014-06-22 14:10:12 +0800 |
---|---|---|
committer | fuxiaohei <fuxiaohei@vip.qq.com> | 2014-06-22 14:10:12 +0800 |
commit | bf703ef61761fc4b09e3cb95672869520eccbc39 (patch) | |
tree | 40dd09144366c9428869ca02c3dd50183d5cccf0 /cmd/web.go | |
parent | c280415e0b449b420f4540886b8e16ae3c9e6454 (diff) | |
download | gitea-bf703ef61761fc4b09e3cb95672869520eccbc39.tar.gz gitea-bf703ef61761fc4b09e3cb95672869520eccbc39.zip |
add dashboard context switch button
Diffstat (limited to 'cmd/web.go')
-rw-r--r-- | cmd/web.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go index 2fdfe4332c..f62bc2550a 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -96,7 +96,7 @@ func runWeb(*cli.Context) { r.Get("/stars", user.Stars) }, reqSignIn) - m.Group("/api", func(r martini.Router) { + m.Group("/api", func(_ martini.Router) { m.Group("/v1", func(r martini.Router) { // Miscellaneous. r.Post("/markdown", bindIgnErr(apiv1.MarkdownForm{}), v1.Markdown) |