Module: SearchHelper
- Defined in:
- app/helpers/search_helper.rb
Instance Method Summary collapse
Instance Method Details
#search_options ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'app/helpers/search_helper.rb', line 2 def = {} return if params[:search].nil? params[:search].each do |name, value| ["search[#{name}]"] = value end end |