mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 20:26:22 +00:00
trasladar los parametros a los graficos
This commit is contained in:
parent
3f29d87acd
commit
c8ff6de9ae
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue