mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-21 13:21:49 +00:00
breadcrumbs
This commit is contained in:
parent
298fd5bed1
commit
fb5cc0aaa7
1 changed files with 6 additions and 0 deletions
|
@ -8,6 +8,10 @@ class StatsController < ApplicationController
|
||||||
before_action :authenticate_usuarie!
|
before_action :authenticate_usuarie!
|
||||||
before_action :authorize_stats
|
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 = {
|
EXTRA_OPTIONS = {
|
||||||
builds: {},
|
builds: {},
|
||||||
space_used: { bytes: true },
|
space_used: { bytes: true },
|
||||||
|
@ -21,6 +25,8 @@ class StatsController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def index
|
def index
|
||||||
|
breadcrumb I18n.t('stats.index.title'), ''
|
||||||
|
|
||||||
@chart_params = { interval: interval }
|
@chart_params = { interval: interval }
|
||||||
hostnames
|
hostnames
|
||||||
last_stat
|
last_stat
|
||||||
|
|
Loading…
Reference in a new issue