From a56d22a329f3a4673afd907bf8acf096607cfef2 Mon Sep 17 00:00:00 2001 From: mlorb Date: Thu, 8 Nov 2018 09:43:32 +0100 Subject: [PATCH] change count to size --- app/controllers/projects_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 88432c82e..f239c5026 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -37,7 +37,7 @@ class ProjectsController < ApplicationController partial: 'projects/index/team_projects.html.erb', locals: { projects: @projects } ), - count: @projects.count + count: @projects.size } end format.html do