dashboard.go 342 B

123456789101112131415
  1. // Copyright 2014 The Gogs Authors. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package routers
  5. import (
  6. "github.com/martini-contrib/render"
  7. )
  8. func Dashboard(r render.Render) {
  9. r.HTML(200, "dashboard", map[string]interface{}{
  10. "Title": "Dashboard",
  11. })
  12. }