lib/generators/rostra/templates/app/helpers/rostra/application_helper.rb in rostra-0.1.25 vs lib/generators/rostra/templates/app/helpers/rostra/application_helper.rb in rostra-0.1.26
- old
+ new
@@ -52,10 +52,10 @@
# end
# Creates a list of tags linking to the index showing only questions with that tag
#
# def tag_list(question)
- # tags = question.tags.map { |tag| link_to tag, questions_path(:tag_search => "#{tag}")}.join
+ # tags = question.tags.map { |tag| link_to tag, questions_path(:tag_search => "#{tag}")}.join(', ')
# content_tag :div, "Tags: #{tags}".html_safe, class: 'tags'
# end
# Finds the url to the user's avatar following this logic:
#