mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-30 05:48:50 +01:00
Committed a fix by karmajunkie: "fixed a small bug wherein @contexts wasn’t getting set in ProjectController.show for use in the shared/_add_new_item partial."
This commit is contained in:
parent
3554dd8dd0
commit
99c3aecc04
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue