Class: Geoblacklight::HeaderComponent

Inherits:
Blacklight::HeaderComponent
  • Object
show all
Defined in:
app/components/geoblacklight/header_component.rb

Instance Method Summary collapse

Instance Method Details

#landing_page?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'app/components/geoblacklight/header_component.rb', line 5

def landing_page?
  current_page?(root_path) && !helpers.has_search_parameters?
end