1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

add dashboard context switch button

This commit is contained in:
fuxiaohei
2014-06-22 14:10:12 +08:00
parent c280415e0b
commit bf703ef617
4 changed files with 57 additions and 2 deletions

View File

@@ -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)