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