aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
Diffstat (limited to 'routers')
-rw-r--r--routers/dashboard.go4
-rw-r--r--routers/repo/single.go12
-rw-r--r--routers/user/user.go12
3 files changed, 28 insertions, 0 deletions
diff --git a/routers/dashboard.go b/routers/dashboard.go
index cab1662fc3..ddaef0cb56 100644
--- a/routers/dashboard.go
+++ b/routers/dashboard.go
@@ -17,3 +17,7 @@ func Home(ctx *middleware.Context) {
ctx.Data["PageIsHome"] = true
ctx.Render.HTML(200, "home", ctx.Data)
}
+
+func Help(ctx *middleware.Context) string {
+ return "This is help page"
+}
diff --git a/routers/repo/single.go b/routers/repo/single.go
index a7f07898f0..a0f444716c 100644
--- a/routers/repo/single.go
+++ b/routers/repo/single.go
@@ -60,3 +60,15 @@ func Setting(ctx *middleware.Context) {
ctx.Data["IsRepoToolbarSetting"] = true
ctx.Render.HTML(200, "repo/setting", ctx.Data)
}
+
+func Commits(ctx *middleware.Context) string {
+ return "This is commits page"
+}
+
+func Issues(ctx *middleware.Context) string {
+ return "This is issues page"
+}
+
+func Pulls(ctx *middleware.Context) string {
+ return "This is pulls page"
+}
diff --git a/routers/user/user.go b/routers/user/user.go
index 8d8691a39f..e13f6909dd 100644
--- a/routers/user/user.go
+++ b/routers/user/user.go
@@ -189,3 +189,15 @@ func Feeds(ctx *middleware.Context, form auth.FeedsForm) {
}
ctx.Render.JSON(200, &feeds)
}
+
+func Issues(ctx *middleware.Context) string {
+ return "This is issues page"
+}
+
+func Pulls(ctx *middleware.Context) string {
+ return "This is pulls page"
+}
+
+func Stars(ctx *middleware.Context) string {
+ return "This is stars page"
+}