aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-23 08:40:40 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-23 08:40:40 -0400
commit97debac18534e030924654befc6dc1eeb870a38b (patch)
tree957bc269e6dcf176f1c242e8be2a7f461daa12c8 /routers
parent97e82a0ff6286fd0a42281cd1e34dd734110e2f4 (diff)
downloadgitea-97debac18534e030924654befc6dc1eeb870a38b.tar.gz
gitea-97debac18534e030924654befc6dc1eeb870a38b.zip
SSL enable config option
Diffstat (limited to 'routers')
-rw-r--r--routers/admin/admin.go1
-rw-r--r--routers/dashboard.go2
2 files changed, 2 insertions, 1 deletions
diff --git a/routers/admin/admin.go b/routers/admin/admin.go
index c0f39f7159..f1f951ef25 100644
--- a/routers/admin/admin.go
+++ b/routers/admin/admin.go
@@ -141,6 +141,7 @@ func Config(ctx *middleware.Context) {
ctx.Data["Domain"] = base.Domain
ctx.Data["RunUser"] = base.RunUser
ctx.Data["RunMode"] = strings.Title(martini.Env)
+ ctx.Data["EnableHttpsClone"] = base.EnableHttpsClone
ctx.Data["RepoRootPath"] = base.RepoRootPath
ctx.Data["Service"] = base.Service
diff --git a/routers/dashboard.go b/routers/dashboard.go
index dafe9f31ec..76ecc3f676 100644
--- a/routers/dashboard.go
+++ b/routers/dashboard.go
@@ -26,6 +26,6 @@ func Help(ctx *middleware.Context) {
func NotFound(ctx *middleware.Context) {
ctx.Data["PageIsNotFound"] = true
- ctx.Data["Title"] = 404
+ ctx.Data["Title"] = "Page Not Found"
ctx.Handle(404, "home.NotFound", nil)
}