Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-11-07 08:36:42 +0300
committerShinya Maeda <shinya@gitlab.com>2018-11-07 08:36:42 +0300
commit16fc61d6147c243a17c79faee578a5d286617fb4 (patch)
treec19a7dffcd80ca85b4dd3fa9384ba354da108cd3 /app/models/environment.rb
parent9c811566f85d18bc9eb4a85c6a343cf1bfa4fbd2 (diff)
Rever add action follow up 1
Diffstat (limited to 'app/models/environment.rb')
-rw-r--r--app/models/environment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/environment.rb b/app/models/environment.rb
index 581c870b2c5..934828946b9 100644
--- a/app/models/environment.rb
+++ b/app/models/environment.rb
@@ -96,7 +96,7 @@ class Environment < ActiveRecord::Base
end
def last_deployed_at
- last_deployment.try(:finished_at)
+ last_deployment.try(:created_at)
end
def update_merge_request_metrics?