app/helpers/catalog_helper.rb
# Makes a link to title search
Makes a link to title search
Makes a link to title search
def title_links(options = {})
    result = options[:value].map do |serial_title|
      link = link_to serial_title, "/?search_field=title&q=#{CGI.escape serial_title}"
      content_tag('li', link, nil, false)
    end
    content_tag 'ul', result.join(''), nil, false
  end
def title_links ( options = { } ) result = options [ :value ] . map do | serial_title | link = link_to serial_title , "/?search_field=title&q=#{CGI.escape serial_title}" content_tag ( 'li' , link , nil , false ) end content_tag 'ul' , result . join ( '' ) , nil , false end
Makes a link to title search
Makes a link to title search
options