Module: Hyrax::Admin::UsersControllerBehavior

Extended by:
ActiveSupport::Concern
Includes:
Blacklight::SearchContext
Included in:
UsersController
Defined in:
app/controllers/concerns/hyrax/admin/users_controller_behavior.rb

Instance Method Summary collapse

Instance Method Details

#indexObject

Display admin menu list of users



13
14
15
16
17
18
# File 'app/controllers/concerns/hyrax/admin/users_controller_behavior.rb', line 13

def index
  add_breadcrumb t(:'hyrax.controls.home'), root_path
  add_breadcrumb t(:'hyrax.dashboard.breadcrumbs.admin'), hyrax.dashboard_path
  add_breadcrumb t(:'hyrax.admin.users.index.title'), hyrax.admin_users_path
  @presenter = Hyrax::Admin::UsersPresenter.new
end