diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-05-23 06:36:25 +0200 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-05-22 22:31:28 -0700 |
commit | a006ff74c78b88cbf6c7a1ee9122a0528a0e844d (patch) | |
tree | f429da4a18855f715c7aa176fe0edc216d936f50 /app/models/application_setting.rb | |
parent | c135a69a877c6b3336dc4d25c2bfc2715abbe838 (diff) | |
download | gitlab-ce-a006ff74c78b88cbf6c7a1ee9122a0528a0e844d.tar.gz |
Serialize application setting as Array by defaultfix/application-settings-error-default-value
Diffstat (limited to 'app/models/application_setting.rb')
-rw-r--r-- | app/models/application_setting.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/application_setting.rb b/app/models/application_setting.rb index f5079f92444..9a14954b4a7 100644 --- a/app/models/application_setting.rb +++ b/app/models/application_setting.rb @@ -7,7 +7,7 @@ class ApplicationSetting < ActiveRecord::Base serialize :restricted_visibility_levels serialize :import_sources - serialize :disabled_oauth_sign_in_sources + serialize :disabled_oauth_sign_in_sources, Array serialize :restricted_signup_domains, Array attr_accessor :restricted_signup_domains_raw |