From 125f31cc482241b7bdc60cf84097350c396aea32 Mon Sep 17 00:00:00 2001 From: bsag Date: Sun, 5 Jun 2005 11:41:44 +0000 Subject: [PATCH] Bit more cleaning up. git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@98 a4c988fc-2ded-0310-b66e-134b36920a42 --- tracks/app/controllers/todo_controller.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tracks/app/controllers/todo_controller.rb b/tracks/app/controllers/todo_controller.rb index 9ea04487..39713195 100644 --- a/tracks/app/controllers/todo_controller.rb +++ b/tracks/app/controllers/todo_controller.rb @@ -23,7 +23,6 @@ class TodoController < ApplicationController @hidden_places = Context.find( :all, :conditions => "hide=1", :order => "position ASC" ) @done = Todo.find( :all, :conditions => "done=1", :order => "completed DESC", :limit => NO_OF_ACTIONS ) - @av_days_to_completion, @max_days_to_completion = av_completed() # Set count badge to number of not-done, not hidden context items @count = count_shown_items( @hidden_places ) @@ -127,7 +126,7 @@ class TodoController < ApplicationController # Toggles the 'done' status of the action # - def toggle_check + def toggle_check @projects = Project.find(:all, :order => "position ASC") @places = Context.find(:all, :order => "position ASC")