diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-11-07 08:36:42 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-11-07 08:36:42 +0300 |
commit | 16fc61d6147c243a17c79faee578a5d286617fb4 (patch) | |
tree | c19a7dffcd80ca85b4dd3fa9384ba354da108cd3 /app/models/environment.rb | |
parent | 9c811566f85d18bc9eb4a85c6a343cf1bfa4fbd2 (diff) |
Rever add action follow up 1
Diffstat (limited to 'app/models/environment.rb')
-rw-r--r-- | app/models/environment.rb | 2 |
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? |