index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
routes
/
repo
/
setting.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'routes/repo/setting.go')
-rw-r--r--
routes/repo/setting.go
1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/repo/setting.go b/routes/repo/setting.go
index 71827cc3..edf6216d 100644
--- a/
routes/repo/setting.go
+++ b/
routes/repo/setting.go
@@ -34,6 +34,7 @@ const (
func Settings(c *context.Context) {
c.Title("repo.settings")
c.PageIs("SettingsOptions")
+ c.Data["RequireAutosize"] = true
c.Success(SETTINGS_OPTIONS)
}