diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-10-06 02:45:15 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-10-06 02:45:15 +0900 |
commit | 6712762b9d6e0391b1a38ca17cc3d982a336bbf9 (patch) | |
tree | bbb3b008409a18aca0bbd86480ac4b52eb33668e /app/models | |
parent | d27b113b49c90ba7d184f0d7965b63e32d260ebf (diff) | |
download | gitlab-ce-6712762b9d6e0391b1a38ca17cc3d982a336bbf9.tar.gz |
Add ClusterPresenter. Fix Static Analysys.
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/gcp/cluster.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/gcp/cluster.rb b/app/models/gcp/cluster.rb index 0e8b920741d..18bd6a6dcb4 100644 --- a/app/models/gcp/cluster.rb +++ b/app/models/gcp/cluster.rb @@ -1,6 +1,7 @@ module Gcp class Cluster < ActiveRecord::Base extend Gitlab::Gcp::Model + include Presentable belongs_to :project, inverse_of: :cluster belongs_to :user |