lib/ecrire/app/helpers/admin/posts_helper.rb in ecrire-0.26.1 vs lib/ecrire/app/helpers/admin/posts_helper.rb in ecrire-0.26.2

- old
+ new

@@ -1,8 +1,15 @@ module Admin module PostsHelper include ::PostsHelper + def post_tags(post) + tags = post.tags.map do |tag| + tag.name.capitalize + end + tags.join(', ') + end + def edit_content_tag(post) content_tag :article, id: 'PostBody', postid: @post.id, class: %w(content), as: 'Editor.Content', contenteditable: true,