5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-02 16:36:07 +00:00

breadcrumbs

This commit is contained in:
f 2022-04-26 16:48:25 -03:00
parent 298fd5bed1
commit fb5cc0aaa7

View file

@ -8,6 +8,10 @@ class StatsController < ApplicationController
before_action :authenticate_usuarie!
before_action :authorize_stats
breadcrumb -> { current_usuarie.email }, :edit_usuarie_registration_path
breadcrumb 'sites.index', :sites_path, match: :exact
breadcrumb -> { site.title }, -> { site_posts_path(site, locale: locale) }, match: :exact
EXTRA_OPTIONS = {
builds: {},
space_used: { bytes: true },
@ -21,6 +25,8 @@ class StatsController < ApplicationController
end
def index
breadcrumb I18n.t('stats.index.title'), ''
@chart_params = { interval: interval }
hostnames
last_stat