Method: ApplicationHelper#active_search?
- Defined in:
- app/helpers/application_helper.rb
#active_search?(param) ⇒ Boolean
Checks if the search parameter specified is the currently active search.
73 74 75 |
# File 'app/helpers/application_helper.rb', line 73 def active_search?(param) $active_search_param == param&.to_sym end |