aboutsummaryrefslogtreecommitdiff
path: root/routers/admin/admin.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/admin.go
parent6fbb984ebf4f0d6804f0f83e6edb12ef0bb9a570 (diff)
Refactoring: remove tool.TplName
Diffstat (limited to 'routers/admin/admin.go')
-rw-r--r--routers/admin/admin.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/routers/admin/admin.go b/routers/admin/admin.go
index 91b562ad..c7aa7f02 100644
--- a/routers/admin/admin.go
+++ b/routers/admin/admin.go
@@ -15,18 +15,18 @@ import (
"gopkg.in/macaron.v1"
"github.com/gogits/gogs/models"
- "github.com/gogits/gogs/pkg/tool"
"github.com/gogits/gogs/pkg/context"
"github.com/gogits/gogs/pkg/cron"
"github.com/gogits/gogs/pkg/mailer"
"github.com/gogits/gogs/pkg/process"
"github.com/gogits/gogs/pkg/setting"
+ "github.com/gogits/gogs/pkg/tool"
)
const (
- DASHBOARD tool.TplName = "admin/dashboard"
- CONFIG tool.TplName = "admin/config"
- MONITOR tool.TplName = "admin/monitor"
+ DASHBOARD = "admin/dashboard"
+ CONFIG = "admin/config"
+ MONITOR = "admin/monitor"
)
var (