diff options
-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 eb93dfabf3a..675f0dfb645 100644 --- a/app/controllers/projects/clusters_controller.rb +++ b/app/controllers/projects/clusters_controller.rb @@ -103,7 +103,7 @@ class Projects::ClustersController < Projects::ApplicationController def clusters scope = params[:scope] || :all - @clusters = ClustersFinder.new(project, user, scope).execute + @clusters = ClustersFinder.new(project, current_user, scope).execute end def create_params |