summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-04-25 11:23:04 +0100
committerPhil Hughes <me@iamphill.com>2017-04-25 11:23:04 +0100
commitee0713babb5dc31aa8f7edaa5ba4d8782dae74ca (patch)
treed233fcaae3c62d522758b273f1affd2527be9943 /app
parent230608e92b3177ae13877f56eb6da051d938d7ed (diff)
downloadgitlab-ce-ee0713babb5dc31aa8f7edaa5ba4d8782dae74ca.tar.gz
Generate fixutre for metrics page
Diffstat (limited to 'app')
-rw-r--r--app/serializers/environment_entity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/environment_entity.rb b/app/serializers/environment_entity.rb
index 2152a1dd499..4ff15a78115 100644
--- a/app/serializers/environment_entity.rb
+++ b/app/serializers/environment_entity.rb
@@ -6,7 +6,7 @@ class EnvironmentEntity < Grape::Entity
expose :state
expose :external_url
expose :environment_type
- expose :last_deployment, using: DeploymentEntityDetailed
+ expose :last_deployment, using: DeploymentEntity
expose :stop_action?
expose :metrics_path, if: -> (environment, _) { environment.has_metrics? } do |environment|