aboutsummaryrefslogtreecommitdiff
path: root/routers/admin/notice.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-04-05 09:17:21 -0400
committerUnknwon <u@gogs.io>2017-04-05 09:17:21 -0400
commitedaf14f2b6fd86f8dec99f67512a5c0095e391dc (patch)
treeec81011348a0c8df3995c36b46e2646472106800 /routers/admin/notice.go
parent6fbb984ebf4f0d6804f0f83e6edb12ef0bb9a570 (diff)
Refactoring: remove tool.TplName
Diffstat (limited to 'routers/admin/notice.go')
1 files changed, 1 insertions, 2 deletions
diff --git a/routers/admin/notice.go b/routers/admin/notice.go
index 47ca135d..4041a0fc 100644
--- a/routers/admin/notice.go
+++ b/routers/admin/notice.go
@@ -10,13 +10,12 @@ import (
log "gopkg.in/clog.v1"
"github.com/gogits/gogs/models"
- "github.com/gogits/gogs/pkg/tool"
"github.com/gogits/gogs/pkg/context"
"github.com/gogits/gogs/pkg/setting"
)
const (
- NOTICES tool.TplName = "admin/notice"
+ NOTICES = "admin/notice"
)
func Notices(ctx *context.Context) {