Sha256: c3586377118fa797cf0e55423fd5f7c200faecca9f7ca3f93cd798c0bfabdee9
Contents?: true
Size: 557 Bytes
Versions: 27
Compression:
Stored size: 557 Bytes
Contents
module Spotlight ## # Helper for browse views module BrowseHelper include ::BlacklightConfigurationHelper ## # Override Blacklight's #default_document_index_view_type helper to # use a different default view when presenting browse categories def default_document_index_view_type (default_browse_index_view_type if blacklight_config.view.key? default_browse_index_view_type) || super end private def default_browse_index_view_type Spotlight::Engine.config.default_browse_index_view_type end end end
Version data entries
27 entries across 27 versions & 1 rubygems