mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 12:51:42 +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 :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
|
||||
|
|
Loading…
Reference in a new issue