aboutsummaryrefslogtreecommitdiffstats
path: root/modules/templates/base.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/templates/base.go')
-rw-r--r--modules/templates/base.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/templates/base.go b/modules/templates/base.go
index cb83143bd3..f753bfbe4e 100644
--- a/modules/templates/base.go
+++ b/modules/templates/base.go
@@ -91,7 +91,7 @@ func HTMLRenderer() *render.Render {
Funcs: NewFuncMap(),
Asset: GetAsset,
AssetNames: GetAssetNames,
- IsDevelopment: !setting.IsProd(),
+ IsDevelopment: !setting.IsProd,
DisableHTTPErrorRendering: true,
})
}