diff --git a/app/controllers/stats_controller.rb b/app/controllers/stats_controller.rb index 9cd1e5de..a0937477 100644 --- a/app/controllers/stats_controller.rb +++ b/app/controllers/stats_controller.rb @@ -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|