Sha256: f4b360797c69747d6ead5108ec9336febef560666215f48cd497667780947425
Contents?: true
Size: 440 Bytes
Versions: 83
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true 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&.searchable? end end end
Version data entries
83 entries across 83 versions & 1 rubygems