routes/repo/setting: require autosize when repo/settings/options is rendered (#5315)

pull/5317/head
Steve Chung 2018-06-26 09:40:09 -04:00 committed by 无闻
parent f6bdefe3f3
commit 436dd6c0a4
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ func Settings(c *context.Context) {
func SettingsPost(c *context.Context, f form.RepoSetting) {
c.Title("repo.settings")
c.PageIs("SettingsOptions")
c.RequireAutosize()
repo := c.Repo.Repository