summaryrefslogtreecommitdiff
path: root/app/models/appearance.rb
diff options
context:
space:
mode:
authorAlexis Reigel <mail@koffeinfrei.org>2017-09-26 09:54:32 +0200
committerAlexis Reigel <mail@koffeinfrei.org>2018-06-05 16:20:18 +0200
commitce6172e863f982c73fedc9f4a73877543c30cb1c (patch)
treec35bc83d94504d1aa55086d62ff2234d12fe62d4 /app/models/appearance.rb
parentc8a4d202c99c772822a2b9b09fa6da2c90b2ae81 (diff)
downloadgitlab-ce-ce6172e863f982c73fedc9f4a73877543c30cb1c.tar.gz
allow uploading favicon in appearance settings
Diffstat (limited to 'app/models/appearance.rb')
-rw-r--r--app/models/appearance.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/appearance.rb b/app/models/appearance.rb
index 67cc84a9140..b770aadef0e 100644
--- a/app/models/appearance.rb
+++ b/app/models/appearance.rb
@@ -14,6 +14,7 @@ class Appearance < ActiveRecord::Base
mount_uploader :logo, AttachmentUploader
mount_uploader :header_logo, AttachmentUploader
+ mount_uploader :favicon, FaviconUploader
# Overrides CacheableAttributes.current_without_cache
def self.current_without_cache