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:
authorAlexis Reigel <mail@koffeinfrei.org>2017-09-26 10:54:32 +0300
committerAlexis Reigel <mail@koffeinfrei.org>2018-06-05 17:20:18 +0300
commitce6172e863f982c73fedc9f4a73877543c30cb1c (patch)
treec35bc83d94504d1aa55086d62ff2234d12fe62d4 /app/models/appearance.rb
parentc8a4d202c99c772822a2b9b09fa6da2c90b2ae81 (diff)
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