Class: Hyrax::My::WorksController

Inherits:
Hyrax::MyController show all
Defined in:
app/controllers/hyrax/my/works_controller.rb

Direct Known Subclasses

Dashboard::WorksController

Instance Method Summary collapse

Methods inherited from Hyrax::MyController

configure_facets, #suppressed_to_status

Methods included from Collections::AcceptsBatches

#batch, #batch=, #check_for_empty_batch?

Instance Method Details

#indexObject



10
11
12
13
14
15
16
# File 'app/controllers/hyrax/my/works_controller.rb', line 10

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.sidebar.works'), hyrax.my_works_path

  super
end

#search_builder_classObject

Search builder for a list of works that belong to me Override of Blacklight::RequestBuilders



6
7
8
# File 'app/controllers/hyrax/my/works_controller.rb', line 6

def search_builder_class
  Hyrax::My::WorksSearchBuilder
end