Module: Blacklight::SuggestHelperBehavior
- Included in:
- SuggestHelper
- Defined in:
- app/helpers/blacklight/suggest_helper_behavior.rb
Instance Method Summary collapse
-
#autocomplete_enabled? ⇒ Boolean
Should autocomplete be enabled in the UI.
Instance Method Details
#autocomplete_enabled? ⇒ Boolean
Returns should autocomplete be enabled in the UI.
6 7 8 9 |
# File 'app/helpers/blacklight/suggest_helper_behavior.rb', line 6 def autocomplete_enabled? blacklight_config.autocomplete_enabled.present? && blacklight_config.autocomplete_path.present? end |