app/controllers/hyrax/my/collections_controller.rb in hyrax-1.1.1 vs app/controllers/hyrax/my/collections_controller.rb in hyrax-2.0.0.beta1

- old
+ new

@@ -1,25 +1,28 @@ module Hyrax module My class CollectionsController < MyController def search_builder_class - Hyrax::MyCollectionsSearchBuilder + Hyrax::My::CollectionsSearchBuilder 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.collections'), hyrax.my_collections_path + super - @selected_tab = 'collections' end - protected + private def search_action_url(*args) - hyrax.dashboard_collections_url(*args) + hyrax.my_collections_url(*args) end # The url of the "more" link for additional facet values def search_facet_path(args = {}) - hyrax.dashboard_collections_facet_path(args[:id]) + hyrax.my_dashboard_collections_facet_path(args[:id]) end end end end