Sha256: 7da7f1f4df4d8a3e0e61677bec29724d4c6c8ec59cb1dae05dd2206aeeae45c4
Contents?: true
Size: 212 Bytes
Versions: 9
Compression:
Stored size: 212 Bytes
Contents
module ArticlesHelper def tag_links(article) tag_arr = article.tags.map do |tag| link_to tag.display_name, tag.permalink_url(nil, true), rel: 'tag' end safe_join(tag_arr.sort, ', ') end end
Version data entries
9 entries across 9 versions & 1 rubygems