mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-20 07:56:09 +01:00
upgrade last of the project functions
This commit is contained in:
parent
2c47b27a87
commit
d7a780ef0c
8 changed files with 20 additions and 18 deletions
|
|
@ -218,7 +218,7 @@ class ProjectsController < ApplicationController
|
|||
def render_projects_html
|
||||
lambda do
|
||||
@page_title = t('projects.list_projects')
|
||||
@count = current_user.projects.size
|
||||
@count = current_user.projects.count
|
||||
@active_projects = current_user.projects.active
|
||||
@hidden_projects = current_user.projects.hidden
|
||||
@completed_projects = current_user.projects.completed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue