summaryrefslogtreecommitdiff
path: root/app/models/group.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-02-20 15:19:50 +0100
committerDouwe Maan <douwe@gitlab.com>2015-02-20 15:19:50 +0100
commit4ef6ffaad3e9b7a29b438722e5e101de78521ec7 (patch)
tree1441e030e91429d27eaa9e6addb3ee3952f5d22a /app/models/group.rb
parentc801df81fb48272b670b7448e3898a98cdb8b742 (diff)
downloadgitlab-ce-4ef6ffaad3e9b7a29b438722e5e101de78521ec7.tar.gz
Split up AttachmentUploader.
Diffstat (limited to 'app/models/group.rb')
-rw-r--r--app/models/group.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/group.rb b/app/models/group.rb
index d6ec0be6081..da9621a2a1a 100644
--- a/app/models/group.rb
+++ b/app/models/group.rb
@@ -23,7 +23,7 @@ class Group < Namespace
validate :avatar_type, if: ->(user) { user.avatar_changed? }
validates :avatar, file_size: { maximum: 200.kilobytes.to_i }
- mount_uploader :avatar, AttachmentUploader
+ mount_uploader :avatar, AvatarUploader
after_create :post_create_hook
after_destroy :post_destroy_hook