5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-02 06:04:17 +00:00

trasladar los parametros a los graficos

This commit is contained in:
f 2022-04-30 20:42:10 -03:00
parent 3f29d87acd
commit c8ff6de9ae

View file

@ -34,7 +34,14 @@ class StatsController < ApplicationController
def index
breadcrumb I18n.t('stats.index.title'), ''
@chart_params = { interval: interval }
params.with_defaults! default_url_options
@chart_params = {
interval: interval,
period_start: params[:period_start],
period_end: params[:period_end]
}
hostnames
last_stat
chart_options