Sha256: 7c4fc52e509ac001cabee526f962cfda9bc642123857570e4f972f55b0319814

Contents?: true

Size: 739 Bytes

Versions: 12

Compression:

Stored size: 739 Bytes

Contents

module Hyrax
  module My
    class CollectionsController < MyController
      def search_builder_class
        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
      end

      private

        def search_action_url(*args)
          hyrax.my_collections_url(*args)
        end

        # The url of the "more" link for additional facet values
        def search_facet_path(args = {})
          hyrax.my_dashboard_collections_facet_path(args[:id])
        end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
hyrax-2.0.3 app/controllers/hyrax/my/collections_controller.rb
hyrax-2.0.2 app/controllers/hyrax/my/collections_controller.rb
hyrax-2.0.1 app/controllers/hyrax/my/collections_controller.rb
hyrax-2.0.0 app/controllers/hyrax/my/collections_controller.rb
hyrax-2.0.0.rc3 app/controllers/hyrax/my/collections_controller.rb
hyrax-2.0.0.rc2 app/controllers/hyrax/my/collections_controller.rb
hyrax-2.0.0.rc1 app/controllers/hyrax/my/collections_controller.rb
hyrax-2.0.0.beta5 app/controllers/hyrax/my/collections_controller.rb
hyrax-2.0.0.beta4 app/controllers/hyrax/my/collections_controller.rb
hyrax-2.0.0.beta3 app/controllers/hyrax/my/collections_controller.rb
hyrax-2.0.0.beta2 app/controllers/hyrax/my/collections_controller.rb
hyrax-2.0.0.beta1 app/controllers/hyrax/my/collections_controller.rb