diff options
author | fuxiaohei <fuxiaohei@vip.qq.com> | 2014-09-27 19:03:07 +0800 |
---|---|---|
committer | fuxiaohei <fuxiaohei@vip.qq.com> | 2014-09-27 19:03:07 +0800 |
commit | 7d48f811f16d3565f161a44e4e98c451cf6c857e (patch) | |
tree | 8855c895060e3fec25777dbc2fbe0f9fa09cdbb8 /routers | |
parent | e3a27aeb25f5de7daaf279ec049830628e2cc3a6 (diff) | |
download | gitea-7d48f811f16d3565f161a44e4e98c451cf6c857e.tar.gz gitea-7d48f811f16d3565f161a44e4e98c451cf6c857e.zip |
add issue router for new issue page ui preview
Diffstat (limited to 'routers')
-rw-r--r-- | routers/repo/issue.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go index f854a22bbc..e611032e37 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -1119,3 +1119,9 @@ func IssueGetAttachment(ctx *middleware.Context) { // We must put the name in " manually. ctx.ServeFile(attachment.Path, "\""+attachment.Name+"\"") } + +// testing route handler for new issue ui page +// todo : move to Issue() function +func Issues2(ctx *middleware.Context){ + ctx.HTML(200,"repo/issue2/list") +} |