Sha256: 94a428a3a90b967652524cff4b5e7064edc5a561c82a88d5352373c9b100dd9f
Contents?: true
Size: 293 Bytes
Versions: 25
Compression:
Stored size: 293 Bytes
Contents
module TagsHelper def tag_list taggable ''.html_safe.tap do |safe_string| taggable.tags. map(&:name). map{ |t| safe_string << '<span rel="tag">'.html_safe safe_string << t safe_string << '</span>'.html_safe } end end end
Version data entries
25 entries across 25 versions & 2 rubygems