mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-06 07:51:48 +01:00
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:
parent
fedf029764
commit
f364b039d7
4 changed files with 7 additions and 5 deletions
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue