diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-09 09:07:57 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-09 09:07:57 +0300 |
commit | 8bda404e2919234c299f088b7d8d04f8449125de (patch) | |
tree | cec81ff8bb6dbc77c3ae9b3580bb40c247599afd /app/models/appearance.rb | |
parent | afa0ab923d697a3e737b04d078d3f28e0d573901 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/appearance.rb')
-rw-r--r-- | app/models/appearance.rb | 5 |
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 |