diff options
| author | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-09-19 13:11:09 +0200 |
|---|---|---|
| committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-10-04 22:49:41 +0200 |
| commit | 22aa034427b9392b44d9ecba0a51bb1b6c6616d7 (patch) | |
| tree | 674a46d4ea73af07ccc3b7f5dd56168d4c5c1997 /app/models/group.rb | |
| parent | fb7a0f8c335631e1cb8c8f91e135e49528fad70e (diff) | |
| download | gitlab-ce-22aa034427b9392b44d9ecba0a51bb1b6c6616d7.tar.gz | |
Rename `GroupHierarchy` to `GroupDescendant`
Diffstat (limited to 'app/models/group.rb')
| -rw-r--r-- | app/models/group.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/group.rb b/app/models/group.rb index 848e422e067..36439849086 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -6,7 +6,7 @@ class Group < Namespace include Avatarable include Referable include SelectForProjectAuthorization - include GroupHierarchy + include GroupDescendant has_many :group_members, -> { where(requested_at: nil) }, dependent: :destroy, as: :source # rubocop:disable Cop/ActiveRecordDependent alias_method :members, :group_members |
