aboutsummaryrefslogtreecommitdiffstats
path: root/routers/dashboard.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/dashboard.go')
-rw-r--r--routers/dashboard.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/routers/dashboard.go b/routers/dashboard.go
new file mode 100644
index 0000000000..8c370027bc
--- /dev/null
+++ b/routers/dashboard.go
@@ -0,0 +1,15 @@
+// Copyright 2014 The Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
+package routers
+
+import (
+ "github.com/martini-contrib/render"
+)
+
+func Dashboard(r render.Render) {
+ r.HTML(200, "dashboard", map[string]interface{}{
+ "Title": "Dashboard",
+ })
+}