diff options
author | Stan Hu <stanhu@gmail.com> | 2015-08-24 07:46:06 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-08-24 07:46:06 -0700 |
commit | 19f478e00d1508728d0170ac60defed0535a0789 (patch) | |
tree | 7b4c04fe079dad04a0619c03ada54f780005b1bc /app/models/group.rb | |
parent | 24b282aeeaf5ba41c6b73100051eb48428787770 (diff) | |
download | gitlab-ce-19f478e00d1508728d0170ac60defed0535a0789.tar.gz |
Fix Error 500 in API when accessing a group that has an avatar
Closes #2340
Diffstat (limited to 'app/models/group.rb')
-rw-r--r-- | app/models/group.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/group.rb b/app/models/group.rb index 4ff610f8e9d..9cd146bb73b 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -17,6 +17,7 @@ require 'carrierwave/orm/activerecord' require 'file_size_validator' class Group < Namespace + include Gitlab::ConfigHelper include Referable has_many :group_members, dependent: :destroy, as: :source, class_name: 'GroupMember' |