fix count in navbar and fix tickler

This commit is contained in:
Reinier Balt 2013-08-24 22:11:52 +02:00
parent 031f9fe967
commit 37f8acb214
6 changed files with 51 additions and 55 deletions

View file

@ -551,7 +551,7 @@ class TodosController < ApplicationController
@page_title = t('todos.deferred_tasks_title')
@contexts_to_show = @contexts = current_user.contexts
@projects_to_show = @projects = current_user.projects
@projects_to_show = @projects = current_user.projects.active + current_user.projects.hidden
includes = params[:format]=='xml' ? [:context, :project] : Todo::DEFAULT_INCLUDES