diff options
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 c24b413b51e..2843045fdc4 100644 --- a/app/controllers/projects/clusters_controller.rb +++ b/app/controllers/projects/clusters_controller.rb @@ -9,7 +9,7 @@ class Projects::ClustersController < Projects::ApplicationController def index @scope = params[:scope] || 'all' clusters = ClustersFinder.new(project, current_user, @scope).execute - @clusters = clusters.page(params[:page]).per(20) + @clusters = clusters.page(params[:page]) @active_count = project.clusters.enabled.count @inactive_count = project.clusters.disabled.count @all_count = @active_count + @inactive_count |