Remove a couple of unnecessary queries that were slowing down rendering of the projects and contexts listing pages and eating up too much memory.

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@528 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
lukemelia 2007-04-11 05:04:31 +00:00
parent 56215ec160
commit 472db2f586

View file

@ -180,7 +180,6 @@ class ProjectsController < ApplicationController
@projects = @user.projects
@contexts = @user.contexts
@todos = @user.todos
@done = @user.todos.find_in_state(:all, :completed, :order => "completed_at DESC")
init_data_for_sidebar
end