Module: Spotlight::BrowseHelper
- Includes:
- Blacklight::ConfigurationHelperBehavior, RenderingHelper
- Defined in:
- app/helpers/spotlight/browse_helper.rb
Overview
Helper for browse views
Instance Method Summary collapse
-
#parent_search_count ⇒ Object
Get parent results count of a browse category search.
Methods included from RenderingHelper
Instance Method Details
#parent_search_count ⇒ Object
Get parent results count of a browse category search
12 13 14 |
# File 'app/helpers/spotlight/browse_helper.rb', line 12 def parent_search_count @parent_search_count ||= Spotlight::Search.find(@search.id).count end |