Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-09 09:07:57 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-09 09:07:57 +0300
commit8bda404e2919234c299f088b7d8d04f8449125de (patch)
treecec81ff8bb6dbc77c3ae9b3580bb40c247599afd /app/models/appearance.rb
parentafa0ab923d697a3e737b04d078d3f28e0d573901 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/appearance.rb')
-rw-r--r--app/models/appearance.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/appearance.rb b/app/models/appearance.rb
index 2815a117f7f..1104b676bc4 100644
--- a/app/models/appearance.rb
+++ b/app/models/appearance.rb
@@ -18,6 +18,11 @@ class Appearance < ApplicationRecord
validate :single_appearance_row, on: :create
+ default_value_for :title, ''
+ default_value_for :description, ''
+ default_value_for :new_project_guidelines, ''
+ default_value_for :header_message, ''
+ default_value_for :footer_message, ''
default_value_for :message_background_color, '#E75E40'
default_value_for :message_font_color, '#FFFFFF'
default_value_for :email_header_and_footer_enabled, false