From 7d48f811f16d3565f161a44e4e98c451cf6c857e Mon Sep 17 00:00:00 2001 From: fuxiaohei Date: Sat, 27 Sep 2014 19:03:07 +0800 Subject: add issue router for new issue page ui preview --- routers/repo/issue.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'routers/repo/issue.go') diff --git a/routers/repo/issue.go b/routers/repo/issue.go index f854a22b..e611032e 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") +} -- cgit v1.2.3