Browse Source

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

pull/5317/head
Steve Chung 7 years ago committed by 无闻
parent
commit
436dd6c0a4
  1. 1
      routes/repo/setting.go

1
routes/repo/setting.go

@ -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

Loading…
Cancel
Save