mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-23 09:16:10 +01:00
add check for actions that should move from tickler to home page to the index page for todos
This commit is contained in:
parent
b00b9282fd
commit
1118a582d7
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue