mirror of
https://github.com/gogs/gogs.git
synced 2026-05-06 22:46:49 +02:00
routes/repo/setting: require autosize when repo/settings/options is rendered (#5315)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user