diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-16 03:41:22 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-16 03:41:22 -0400 |
commit | 8de9517862acd77c27da015654fc236a6722d188 (patch) | |
tree | 5f228f7f9948945dfd4629f05c9d69eb28332e9d /routers | |
parent | c3e0554fd77f976b58a8da10d4878353bb895a78 (diff) | |
download | gitea-8de9517862acd77c27da015654fc236a6722d188.tar.gz gitea-8de9517862acd77c27da015654fc236a6722d188.zip |
Mirror fix
Diffstat (limited to 'routers')
-rw-r--r-- | routers/dashboard.go | 4 | ||||
-rw-r--r-- | routers/repo/single.go | 12 | ||||
-rw-r--r-- | routers/user/user.go | 12 |
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" +} |