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

Version Path
publify_core-9.1.0 app/helpers/articles_helper.rb
publify_core-9.0.1 app/helpers/articles_helper.rb
publify_core-9.0.0 app/helpers/articles_helper.rb
publify_core-9.0.0.pre6 app/helpers/articles_helper.rb
publify_core-9.0.0.pre5 app/helpers/articles_helper.rb
publify_core-9.0.0.pre4 app/helpers/articles_helper.rb
publify_core-9.0.0.pre3 app/helpers/articles_helper.rb
publify_core-9.0.0.pre2 app/helpers/articles_helper.rb
publify_core-9.0.0.pre1 app/helpers/articles_helper.rb