agrupar por año

This commit is contained in:
f 2021-10-08 18:36:31 -03:00
parent d2b1220df6
commit ef0055db05

View file

@ -8,7 +8,7 @@ class StatsController < ApplicationController
before_action :authenticate_usuarie!
before_action :authorize_stats
INTERVALS = %i[hour day week month].freeze
INTERVALS = %i[hour day week month year].freeze
# XXX: Permitir a Chart.js inyectar su propio CSS
content_security_policy only: :index do |policy|