BigW Consortium Gitlab

Use current_user in ClustersController#clusters

parent d1ba15c7
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment