Merge branch 'dev'
This commit is contained in:
commit
243c1967f5
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class StatsController < ApplicationController
|
|||
|
||||
totals = Feedback.where(created_at: 5.weeks.ago..Time.now).group_by_week(:created_at).count
|
||||
|
||||
Feedback::rating.values.map do |rating|
|
||||
Feedback.ratings.values.map do |rating|
|
||||
data = Feedback
|
||||
.where(created_at: 5.weeks.ago..Time.now, rating: rating)
|
||||
.group_by_week(:created_at)
|
||||
|
|
Loading…
Reference in a new issue