mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-30 20:55:17 +01:00
Bit more cleaning up.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@98 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
7af463c3f8
commit
125f31cc48
1 changed files with 1 additions and 2 deletions
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue