aboutsummaryrefslogblamecommitdiffstats
path: root/guides/code/getting_started/app/helpers/posts_helper.rb
blob: b6e8e67894cc8a65a1f777cafff9ea9f52a66443 (plain) (tree)
1
2
3
4
5




                                           
module PostsHelper
  def join_tags(post)
    post.tags.map { |t| t.name }.join(", ")
  end
end