diff options
Diffstat (limited to 'app/models/group.rb')
-rw-r--r-- | app/models/group.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/group.rb b/app/models/group.rb index 5a18441e0ad..5d0934899d1 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -552,6 +552,10 @@ class Group < Namespace owners.first || parent&.default_owner || owner end + def default_branch_name + namespace_settings&.default_branch_name + end + def access_level_roles GroupMember.access_level_roles end |