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

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