diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-28 21:09:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-28 21:09:07 +0300 |
commit | 1c8fa70f9d0818e2a82089c8643a6e455bca47fd (patch) | |
tree | f339f97de0425270bdd909e2f4d378927b6e0a18 /app/models/group.rb | |
parent | 736d36d8597d0d1ec1b47644e6d091c3f4a78f45 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/group.rb')
-rw-r--r-- | app/models/group.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/group.rb b/app/models/group.rb index ea5d46e23f4..a5337f19b38 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -59,6 +59,9 @@ class Group < Namespace has_many :import_failures, inverse_of: :group + has_many :group_deploy_tokens + has_many :deploy_tokens, through: :group_deploy_tokens + accepts_nested_attributes_for :variables, allow_destroy: true validate :visibility_level_allowed_by_projects |