mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-31 12:09:17 +08:00
change count to size
This commit is contained in:
parent
4d156080ac
commit
a56d22a329
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue