diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-13 00:09:39 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-13 00:09:39 +0300 |
commit | cdf9ef52fe13899be29068992a9858f8b0e72457 (patch) | |
tree | d26b77d147c1a8506213c05048f026fe9ef8ad1e /app/serializers/project_mirror_entity.rb | |
parent | 13150a38e701080f6c64d4925c838214a3f5ef2c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/serializers/project_mirror_entity.rb')
-rw-r--r-- | app/serializers/project_mirror_entity.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/serializers/project_mirror_entity.rb b/app/serializers/project_mirror_entity.rb index 2efd820d893..daea209deb4 100644 --- a/app/serializers/project_mirror_entity.rb +++ b/app/serializers/project_mirror_entity.rb @@ -1,11 +1,11 @@ # frozen_string_literal: true class ProjectMirrorEntity < Grape::Entity - prepend_if_ee('::EE::ProjectMirrorEntity') # rubocop: disable Cop/InjectEnterpriseEditionModule - expose :id expose :remote_mirrors_attributes, using: RemoteMirrorEntity do |project| project.remote_mirrors end end + +ProjectMirrorEntity.prepend_if_ee('::EE::ProjectMirrorEntity') |