summaryrefslogtreecommitdiff
path: root/app/helpers/search_helper.rb
blob: 35b935804316ee5e00ea7809febcd56974f6513a (plain)
1
2
3
4
5
6
7
8
9
module SearchHelper

  def search(target)
    render 'common/search', path: url_for(target),
      id: target.to_s.singularize,
      submit_label: t('.search', cascade: true)
  end

end