Sha256: ab5ecaa5b55ea8f98a668dfdf2bd02b6a197af30c0cee3e50f9e082f9d78a201
Contents?: true
Size: 427 Bytes
Versions: 62
Compression:
Stored size: 427 Bytes
Contents
module Spotlight ## # Helpers used by the navbar module NavbarHelper ## # Check if the spotlight search box should be rendered. It is not displayed # if the exhibit is not searchable, we're not in an exhibit, or the top-level # exhibit masthead isn't being used (e.g. on a browse category) def should_render_spotlight_search_bar? current_exhibit && current_exhibit.searchable? end end end
Version data entries
62 entries across 62 versions & 1 rubygems