diff --git a/app/helpers/offers_helper.rb b/app/helpers/offers_helper.rb index 537586972..ff8d2846b 100644 --- a/app/helpers/offers_helper.rb +++ b/app/helpers/offers_helper.rb @@ -15,12 +15,6 @@ def all_offers_class end end - def formatted_offer_categories(categories) - text = "" - categories.each {|c| text << h(c) + "
".html_safe} - text.html_safe - end - # # function `horizontal_formatted_offer_categories` outputs an html string # that includes a prefix ( ie: Listed in: ) enclosed in tags and the diff --git a/app/helpers/reqs_helper.rb b/app/helpers/reqs_helper.rb index 99e23cde7..ba912d06a 100644 --- a/app/helpers/reqs_helper.rb +++ b/app/helpers/reqs_helper.rb @@ -31,10 +31,6 @@ def approved_messages(req) req.approved_bids.map {|bid| "Confirmed completed by #{person_link req.person} #{time_ago_in_words(bid.approved_at)} #{t('ago')}"} end - def formatted_req_categories(categories) - (categories.map{|c| h(c.to_s)}.join("
") + "
").html_safe - end - # # function `horizontal_formatted_req_categories` outputs an html string # that includes a prefix ( ie: Listed in: ) enclosed in tags and the diff --git a/app/views/offers/_offer_large.html.erb b/app/views/offers/_offer_large.html.erb index 744e353b5..70c51f5cc 100644 --- a/app/views/offers/_offer_large.html.erb +++ b/app/views/offers/_offer_large.html.erb @@ -30,8 +30,6 @@ <%= t('offers.partial.expires') %> <%= offer.expiration_date.nil? ? '' : relative_time_ago_in_words(offer.expiration_date) %>

- <%#= display formatted_offer_categories(offer.long_categories), :class => "meta" %> -


<%= t('offers.partial.available_count') %>: <%= offer.available_count %>