Skip to content

Commit

Permalink
fix stats color
Browse files Browse the repository at this point in the history
  • Loading branch information
qrohlf committed Oct 2, 2014
1 parent 7d3812c commit b182bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/students_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def stats
stats.unshift({
value: students.select{|s| s.assignment_progress == nil}.count,
label: "None",
color: colors[Assignment.count + 1 % colors.size]
color: colors[(Assignment.count + 1) % colors.size]
})
render json: stats
end
Expand Down

0 comments on commit b182bd1

Please sign in to comment.