fix regressions

This commit is contained in:
Reinier Balt 2012-04-04 20:03:40 +02:00
parent c7637053e1
commit 8d6b9b5dbd
4 changed files with 26 additions and 18 deletions

View file

@ -573,7 +573,7 @@ class TodosController < ApplicationController
@source_view = 'deferred'
@page_title = t('todos.deferred_tasks_title')
@contexts_to_show = @contexts = current_user.contexts.find(:all)
@contexts_to_show = @contexts = current_user.contexts
includes = params[:format]=='xml' ? [:context, :project] : Todo::DEFAULT_INCLUDES