app/helpers/catalog_helper.rb
# Makes a link to genre full facet
Makes a link to genre full facet
Makes a link to genre full facet
def genre_links(options = {})
    result = []
    options[:value].each do |genre|
      link = link_to genre, "/?f[genre_full_facet][]=#{CGI.escape genre}"
      result << content_tag('li', link, nil, false)
    end
    content_tag 'ul', result.join(''), nil, false
  end
def genre_links ( options = { } ) result = [ ] options [ :value ] . each do | genre | link = link_to genre , "/?f[genre_full_facet][]=#{CGI.escape genre}" result << content_tag ( 'li' , link , nil , false ) end content_tag 'ul' , result . join ( '' ) , nil , false end
Makes a link to genre full facet
Makes a link to genre full facet
options