Method: Sufia::SufiaHelperBehavior#search_form_action
- Defined in:
- app/helpers/sufia/sufia_helper_behavior.rb
#search_form_action ⇒ Object
Depending on which page we’re landed on, we’ll need to set the appropriate action url for our search form.
160 161 162 163 164 165 166 |
# File 'app/helpers/sufia/sufia_helper_behavior.rb', line 160 def search_form_action if on_the_dashboard? search_action_for_dashboard else catalog_index_path end end |