app/controllers/concerns/hyrax/admin/stats_behavior.rb in hyrax-1.1.1 vs app/controllers/concerns/hyrax/admin/stats_behavior.rb in hyrax-2.0.0.beta1

- old
+ new

@@ -1,19 +1,19 @@ module Hyrax module Admin module StatsBehavior extend ActiveSupport::Concern included do - layout 'admin' + layout 'dashboard' end def show authorize! :read, Hyrax::Statistics stats_filters = params.fetch(:stats_filters, {}) limit = params.fetch(:limit, "5").to_i @presenter = AdminStatsPresenter.new(stats_filters, limit) add_breadcrumb t(:'hyrax.controls.home'), root_path - add_breadcrumb t(:'hyrax.toolbar.admin.menu'), hyrax.admin_path + add_breadcrumb t(:'hyrax.dashboard.breadcrumbs.admin'), hyrax.dashboard_path add_breadcrumb t(:'hyrax.admin.sidebar.statistics'), hyrax.admin_stats_path end end end end