change count to size

This commit is contained in:
mlorb 2018-11-08 09:43:32 +01:00 committed by GitHub
parent 4d156080ac
commit a56d22a329
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@ class ProjectsController < ApplicationController
partial: 'projects/index/team_projects.html.erb', partial: 'projects/index/team_projects.html.erb',
locals: { projects: @projects } locals: { projects: @projects }
), ),
count: @projects.count count: @projects.size
} }
end end
format.html do format.html do