Class: Hyrax::AdminController

Inherits:
ApplicationController
  • Object
show all
Includes:
Blacklight::Base
Defined in:
app/controllers/hyrax/admin_controller.rb

Direct Known Subclasses

Hyrax::Admin::UsersController

Instance Method Summary collapse

Instance Method Details

#showObject



7
8
9
10
11
12
# File 'app/controllers/hyrax/admin_controller.rb', line 7

def show
  add_breadcrumb t(:'hyrax.controls.home'), root_path
  add_breadcrumb t(:'hyrax.toolbar.admin.menu'), hyrax.admin_path
  @presenter = Hyrax::Admin::DashboardPresenter.new
  @admin_set_rows = Hyrax::AdminSetService.new(self).search_results_with_work_count(:read)
end