diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-10 15:06:19 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-10 15:06:19 +0300 |
commit | 69849c280c5525d132ebaddb1200c390a42ecc06 (patch) | |
tree | 2c6ffc6fd6dc4fa719305f25b475391730389747 /app/serializers/diffs_metadata_entity.rb | |
parent | c157f963db87a40a3ba7b94b339530ee83194bc8 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/serializers/diffs_metadata_entity.rb')
-rw-r--r-- | app/serializers/diffs_metadata_entity.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/serializers/diffs_metadata_entity.rb b/app/serializers/diffs_metadata_entity.rb new file mode 100644 index 00000000000..c82c686e8ef --- /dev/null +++ b/app/serializers/diffs_metadata_entity.rb @@ -0,0 +1,6 @@ +# frozen_string_literal: true + +class DiffsMetadataEntity < DiffsEntity + unexpose :diff_files + expose :diff_files, using: DiffFileMetadataEntity +end |