upgrade last of the project functions

This commit is contained in:
Reinier Balt 2010-10-22 11:55:54 +02:00
parent 2c47b27a87
commit d7a780ef0c
8 changed files with 20 additions and 18 deletions

View file

@ -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