summaryrefslogtreecommitdiff
path: root/app/models/environment.rb
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-03-07 18:14:25 +0800
committerLin Jen-Shin <godfat@godfat.org>2018-03-07 18:14:25 +0800
commit0917e817838fb5ecb3993a18baafa2eadff9cf40 (patch)
treee04e66e5ea54486694914332f63b2d8f0281c411 /app/models/environment.rb
parentcfe203fa3a77adbb33f877c98af5e117b1ccd281 (diff)
downloadgitlab-ce-0917e817838fb5ecb3993a18baafa2eadff9cf40.tar.gz
Unify deployment_platform interface with EE
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 24d4f1d8761..582a7818502 100644
--- a/app/models/environment.rb
+++ b/app/models/environment.rb
@@ -225,7 +225,7 @@ class Environment < ActiveRecord::Base
end
def deployment_platform
- project.deployment_platform
+ project.deployment_platform(environment: self)
end
private