add dashboard context switch button

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

No files matched your search

+1 -1
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)