diff --git a/app/views/standardpage/grafico.html.erb b/app/views/standardpage/grafico.html.erb index fb0ecd6..701e02b 100644 --- a/app/views/standardpage/grafico.html.erb +++ b/app/views/standardpage/grafico.html.erb @@ -1,7 +1,7 @@ <% unless @sender.nil? %> - <%= line_chart Asd.where(sender: @sender).group_by_day(:created_at).totalcount %> + <%= line_chart Asd.where(sender: @sender).group_by_day(:created_at).count %> <% end %> <% unless @group.nil? %> - <%= line_chart Asd.where(group: @group).group_by_day(:created_at).totalcount %> + <%= line_chart Asd.where(group: @group).group_by_day(:created_at).count %> <% end %>