diff --git a/app/views/standardpage/grafico.html.erb b/app/views/standardpage/grafico.html.erb index dd6f09e..fb0ecd6 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).count %> + <%= line_chart Asd.where(sender: @sender).group_by_day(:created_at).totalcount %> <% end %> <% unless @group.nil? %> - <%= line_chart Asd.where(group: @group).group_by_day(:created_at).count %> -<% end %> \ No newline at end of file + <%= line_chart Asd.where(group: @group).group_by_day(:created_at).totalcount %> +<% end %>