Sha256: 3d38da30ec84ce4c020725c91977eb5dae1af572c001560ba3cab1e5fc23a2ef

Contents?: true

Size: 522 Bytes

Versions: 10

Compression:

Stored size: 522 Bytes

Contents

module Hyrax
  module My
    class SharesController < MyController
      def search_builder_class
        Hyrax::MySharesSearchBuilder
      end

      def index
        super
        @selected_tab = 'shared'
      end

      protected

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

        # The url of the "more" link for additional facet values
        def search_facet_path(args = {})
          hyrax.dashboard_shares_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/shares_controller.rb
hyrax-1.1.0 app/controllers/hyrax/my/shares_controller.rb
hyrax-1.0.5 app/controllers/hyrax/my/shares_controller.rb
hyrax-1.0.4 app/controllers/hyrax/my/shares_controller.rb
hyrax-1.0.3 app/controllers/hyrax/my/shares_controller.rb
hyrax-1.0.2 app/controllers/hyrax/my/shares_controller.rb
hyrax-1.0.1 app/controllers/hyrax/my/shares_controller.rb
hyrax-1.0.0.rc2 app/controllers/hyrax/my/shares_controller.rb
hyrax-1.0.0.rc1 app/controllers/hyrax/my/shares_controller.rb
test_hyrax-0.0.1.alpha app/controllers/hyrax/my/shares_controller.rb