add check for actions that should move from tickler to home page to the index page for todos

This commit is contained in:
Reinier Balt 2008-10-07 20:20:47 +02:00
parent b00b9282fd
commit 1118a582d7

View file

@ -10,6 +10,7 @@ class TodosController < ApplicationController
session :off, :only => :index, :if => Proc.new { |req| is_feed_request(req) }
def index
current_user.deferred_todos.find_and_activate_ready
@projects = current_user.projects.find(:all, :include => [:default_context])
@contexts = current_user.contexts.find(:all)