aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-16 03:41:22 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-16 03:41:22 -0400
commit8de9517862acd77c27da015654fc236a6722d188 (patch)
tree5f228f7f9948945dfd4629f05c9d69eb28332e9d /routers
parentc3e0554fd77f976b58a8da10d4878353bb895a78 (diff)
downloadgitea-8de9517862acd77c27da015654fc236a6722d188.tar.gz
gitea-8de9517862acd77c27da015654fc236a6722d188.zip
Mirror fix
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"
+}