Skip to content

Commit

Permalink
Fixed bug in taskboard controller with the taskboard team color.
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Tufró committed Aug 3, 2010
1 parent a2ebf4b commit 2a9c504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/taskboard_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def index
end

@team = @project.team_including(current_user)
@color = @team.color ? @team.color : '0C82EB'
@color = (@team && @team.color) ? @team.color : '0C82EB'
@projects = [@project]
@users = @project.users
end
Expand Down

0 comments on commit 2a9c504

Please sign in to comment.