Sha256: 1d44c2fad3ca1d860fcfb930952c507dc6867693e8b3ccfc1bae92cd3e1b21f3
Contents?: true
Size: 812 Bytes
Versions: 12
Compression:
Stored size: 812 Bytes
Contents
module Hyrax module My class WorksController < MyController # Search builder for a list of works that belong to me # Override of Blacklight::RequestBuilders def search_builder_class Hyrax::My::WorksSearchBuilder end 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 private def search_action_url(*args) hyrax.my_works_url(*args) end # The url of the "more" link for additional facet values def search_facet_path(args = {}) hyrax.my_dashboard_works_facet_path(args[:id]) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems