Adjust the routing and name for the periodically executed check for deferred items.

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@407 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
lukemelia 2007-01-25 13:59:40 +00:00
parent fedf029764
commit f364b039d7
4 changed files with 7 additions and 5 deletions

View file

@ -2,7 +2,7 @@ class TodosController < ApplicationController
helper :todos
append_before_filter :init, :except => [ :destroy, :completed, :completed_archive, :check_tickler ]
append_before_filter :init, :except => [ :destroy, :completed, :completed_archive, :check_deferred ]
layout 'standard'
# Main method for listing tasks
@ -231,7 +231,7 @@ class TodosController < ApplicationController
# Check for any due tickler items, activate them
# Called by periodically_call_remote
def check_tickler
def check_deferred
@due_tickles = @user.deferred_todos.find_and_activate_ready
respond_to do |format|
format.html { redirect_to home_path }