diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-10-05 20:45:15 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-10-05 20:45:15 +0300 |
commit | 6712762b9d6e0391b1a38ca17cc3d982a336bbf9 (patch) | |
tree | bbb3b008409a18aca0bbd86480ac4b52eb33668e /app/controllers/projects/clusters_controller.rb | |
parent | d27b113b49c90ba7d184f0d7965b63e32d260ebf (diff) |
Add ClusterPresenter. Fix Static Analysys.
Diffstat (limited to 'app/controllers/projects/clusters_controller.rb')
-rw-r--r-- | app/controllers/projects/clusters_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/clusters_controller.rb b/app/controllers/projects/clusters_controller.rb index bd286b87a29..77644602b72 100644 --- a/app/controllers/projects/clusters_controller.rb +++ b/app/controllers/projects/clusters_controller.rb @@ -81,7 +81,7 @@ class Projects::ClustersController < Projects::ApplicationController private def cluster - @cluster ||= project.cluster + @cluster ||= project.cluster.present(current_user: current_user) end def create_params |