From 99c3aecc04a99c280ed463b72a552225597d32d9 Mon Sep 17 00:00:00 2001 From: bsag Date: Sun, 11 Jan 2009 16:01:52 +0000 Subject: [PATCH] =?UTF-8?q?Committed=20a=20fix=20by=20karmajunkie:=20"fixe?= =?UTF-8?q?d=20a=20small=20bug=20wherein=20@contexts=20wasn=E2=80=99t=20ge?= =?UTF-8?q?tting=20set=20in=20ProjectController.show=20for=20use=20in=20th?= =?UTF-8?q?e=20shared/=5Fadd=5Fnew=5Fitem=20partial."?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/projects_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index ce37d92c..1c8dcb5f 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -43,6 +43,7 @@ class ProjectsController < ApplicationController @contexts = current_user.contexts(true) init_data_for_sidebar unless mobile? @projects = current_user.projects + @contexts = current_user.contexts @page_title = "TRACKS::Project: #{@project.name}" @project.todos.send :with_scope, :find => { :include => [:context] } do @not_done = @project.not_done_todos(:include_project_hidden_todos => true)