fix #763 where all tags were shown twice

thanks Marcin for the report
This commit is contained in:
Reinier Balt 2008-08-27 20:54:56 +02:00
parent 11f9114ad5
commit 9d09a4d47a
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ class ProjectsController < ApplicationController
init_data_for_sidebar unless mobile?
@projects = current_user.projects
@page_title = "TRACKS::Project: #{@project.name}"
@project.todos.send :with_scope, :find => { :include => [:context, :tags] } do
@project.todos.send :with_scope, :find => { :include => [:context] } do
@not_done = @project.not_done_todos(:include_project_hidden_todos => true)
@deferred = @project.deferred_todos.sort_by { |todo| todo.show_from }
@done = @project.done_todos

View file

@ -1,4 +1,4 @@
<% @not_done = project.not_done_todos -%>
<% #@not_done = project.not_done_todos -%>
<div id="p<%= project.id %>" class="container project">
<h2>