summaryrefslogtreecommitdiff
path: root/app/models/appearance.rb
diff options
context:
space:
mode:
authorMarkus Koller <markus.koller.ext@siemens.com>2017-11-22 14:48:38 +0100
committerMarkus Koller <markus.koller.ext@siemens.com>2017-12-04 17:22:59 +0100
commitb8a393192529015bc2fa9d04c2782cf96e7ec896 (patch)
treefdf99629e27efe4b6ecfbe30228589eb22df0001 /app/models/appearance.rb
parent0f3f50d188e5c3f458d65b91765f080288cb06ab (diff)
downloadgitlab-ce-b8a393192529015bc2fa9d04c2782cf96e7ec896.tar.gz
Add custom brand text on new project pages
Diffstat (limited to 'app/models/appearance.rb')
-rw-r--r--app/models/appearance.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/appearance.rb b/app/models/appearance.rb
index ff15689ecac..76cfe28742a 100644
--- a/app/models/appearance.rb
+++ b/app/models/appearance.rb
@@ -2,9 +2,8 @@ class Appearance < ActiveRecord::Base
include CacheMarkdownField
cache_markdown_field :description
+ cache_markdown_field :new_project_guidelines
- validates :title, presence: true
- validates :description, presence: true
validates :logo, file_size: { maximum: 1.megabyte }
validates :header_logo, file_size: { maximum: 1.megabyte }