diff options
author | Alessio Caiazza <acaiazza@gitlab.com> | 2018-10-18 17:17:24 +0300 |
---|---|---|
committer | Alessio Caiazza <acaiazza@gitlab.com> | 2018-10-18 17:25:31 +0300 |
commit | d60cc75d4355be9adf2d6195e49c4e6a96ca336c (patch) | |
tree | 1ad19c4b9061a636a2d126627b1a958d2e398fd2 /app/serializers/environment_status_entity.rb | |
parent | 4a9efc606f5cdd9cf3aa34991543eb2f77555914 (diff) |
Show modified and added public paths in MR
Diffstat (limited to 'app/serializers/environment_status_entity.rb')
-rw-r--r-- | app/serializers/environment_status_entity.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/serializers/environment_status_entity.rb b/app/serializers/environment_status_entity.rb index 62152dd1d40..3dfa4f204c9 100644 --- a/app/serializers/environment_status_entity.rb +++ b/app/serializers/environment_status_entity.rb @@ -36,6 +36,8 @@ class EnvironmentStatusEntity < Grape::Entity es.deployment.try(:formatted_deployment_time) end + expose :changes, if: ->(*) { Feature.enabled?(:ci_environments_status_changes, project) } + private def environment |