Module: BlacklightMaps::Controller
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/blacklight/maps/controller.rb
Instance Method Summary collapse
-
#has_search_parameters? ⇒ Boolean
BlacklightMaps override: update to look for spatial query params Check if any search parameters have been set.
- #map ⇒ Object
Instance Method Details
#has_search_parameters? ⇒ Boolean
BlacklightMaps override: update to look for spatial query params Check if any search parameters have been set
23 24 25 |
# File 'lib/blacklight/maps/controller.rb', line 23 def has_search_parameters? params[:coordinates].present? || super end |
#map ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/blacklight/maps/controller.rb', line 11 def map (@response, @document_list) = search_service.search_results params[:view] = 'maps' respond_to do |format| format.html end end |