Sha256: 70fe7f6c4047cdb4608dbb8b784e22b5a02b508b49944aa8f43f3a808e67f661

Contents?: true

Size: 471 Bytes

Versions: 20

Compression:

Stored size: 471 Bytes

Contents

# frozen_string_literal: true
class Blacklight::Configuration
  class ViewConfig < Blacklight::OpenStructWithHashAccess
    def search_bar_presenter_class
      super || Blacklight::SearchBarPresenter
    end

    class Show < ViewConfig
      def document_presenter_class
        super || Blacklight::ShowPresenter
      end
    end

    class Index < ViewConfig
      def document_presenter_class
        super || Blacklight::IndexPresenter
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
blacklight-7.11.1 lib/blacklight/configuration/view_config.rb
blacklight-7.10.0 lib/blacklight/configuration/view_config.rb
blacklight-7.9.0 lib/blacklight/configuration/view_config.rb
blacklight-7.8.1 lib/blacklight/configuration/view_config.rb
blacklight-7.8.0 lib/blacklight/configuration/view_config.rb
blacklight-7.7.0 lib/blacklight/configuration/view_config.rb
blacklight-7.6.0 lib/blacklight/configuration/view_config.rb
blacklight-7.5.1 lib/blacklight/configuration/view_config.rb
blacklight-7.5.0 lib/blacklight/configuration/view_config.rb
blacklight-7.4.2 lib/blacklight/configuration/view_config.rb
blacklight-7.4.1 lib/blacklight/configuration/view_config.rb
blacklight-7.4.0 lib/blacklight/configuration/view_config.rb
blacklight-7.3.0 lib/blacklight/configuration/view_config.rb
blacklight-7.2.0 lib/blacklight/configuration/view_config.rb
blacklight-7.1.0 lib/blacklight/configuration/view_config.rb
blacklight-7.1.0.alpha lib/blacklight/configuration/view_config.rb
blacklight-7.0.1 lib/blacklight/configuration/view_config.rb
blacklight-7.0.0 lib/blacklight/configuration/view_config.rb
blacklight-7.0.0.rc2 lib/blacklight/configuration/view_config.rb
blacklight-7.0.0.rc1 lib/blacklight/configuration/view_config.rb