Sha256: 79308b51b9d24d9db0fbc3bf0fb9599ddaa729768c503101276e975803194d28

Contents?: true

Size: 547 Bytes

Versions: 10

Compression:

Stored size: 547 Bytes

Contents

module Hyrax
  module My
    class CollectionsController < MyController
      def search_builder_class
        Hyrax::MyCollectionsSearchBuilder
      end

      def index
        super
        @selected_tab = 'collections'
      end

      protected

        def search_action_url(*args)
          hyrax.dashboard_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])
        end
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
hyrax-1.1.1 app/controllers/hyrax/my/collections_controller.rb
hyrax-1.1.0 app/controllers/hyrax/my/collections_controller.rb
hyrax-1.0.5 app/controllers/hyrax/my/collections_controller.rb
hyrax-1.0.4 app/controllers/hyrax/my/collections_controller.rb
hyrax-1.0.3 app/controllers/hyrax/my/collections_controller.rb
hyrax-1.0.2 app/controllers/hyrax/my/collections_controller.rb
hyrax-1.0.1 app/controllers/hyrax/my/collections_controller.rb
hyrax-1.0.0.rc2 app/controllers/hyrax/my/collections_controller.rb
hyrax-1.0.0.rc1 app/controllers/hyrax/my/collections_controller.rb
test_hyrax-0.0.1.alpha app/controllers/hyrax/my/collections_controller.rb