diff options
author | Matija Čupić <matteeyah@gmail.com> | 2017-11-27 20:05:42 +0300 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2017-11-27 20:06:38 +0300 |
commit | 061b496357d3e7d607faee2a6a02320a39ce3236 (patch) | |
tree | 965314e5e6f66bd1f0df1dd8e7418332042e6ad9 /app | |
parent | e1f9219a170b12e9ac14630f19a880b836ee69d5 (diff) |
Fix symbolization error in #clusters
Diffstat (limited to 'app')
-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 |