link_helper.rb revision 8d050e0562ded9f29d349f3589d870fe9121f7e2
1218N/A "distributed_homogeneous_ontology" 1218N/A "distributed_heterogeneous_ontology" 1218N/A text << content_tag
(:span, counter==1 ? subject : subject.pluralize)
1448N/A def format_links(*args, &block)
1448N/A options = args.extract_options!
1448N/A args = %w(xml json) if args.empty?
1448N/A links << capture(&block) << ' ' if block_given?
1448N/A content_tag :li, link_to(f.to_s.upcase, params.merge(options[:url]).merge(:format => f), :title => "Get this page as #{f.upcase}")
1448N/A content_tag('ul', links.html_safe, :class => 'formats')