mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-09 02:38:51 +01:00
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:
parent
56215ec160
commit
472db2f586
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue