aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo/setting.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-11 04:55:08 -0500
committerUnknwon <u@gogs.io>2015-12-11 04:55:08 -0500
commit40f3142264aa20103ba2c6375b344e491cff27f5 (patch)
tree2d17476fae2baf5e80aa56d596f83d37b141bcf7 /routers/repo/setting.go
parentb21160a13aeab088bdee14ea5444321214adbd05 (diff)
downloadgitea-40f3142264aa20103ba2c6375b344e491cff27f5.tar.gz
gitea-40f3142264aa20103ba2c6375b344e491cff27f5.zip
#2114 External URL for wiki
Diffstat (limited to 'routers/repo/setting.go')
-rw-r--r--routers/repo/setting.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/repo/setting.go b/routers/repo/setting.go
index d393472ee2..2c57d936f9 100644
--- a/routers/repo/setting.go
+++ b/routers/repo/setting.go
@@ -125,6 +125,8 @@ func SettingsPost(ctx *middleware.Context, form auth.RepoSettingForm) {
case "advanced":
repo.EnableWiki = form.EnableWiki
+ repo.EnableExternalWiki = form.EnableExternalWiki
+ repo.ExternalWikiURL = form.ExternalWikiURL
repo.EnableIssues = form.EnableIssues
repo.EnableExternalTracker = form.EnableExternalTracker
repo.ExternalTrackerFormat = form.TrackerURLFormat