Change has a parent link for consistency with has children link

This commit is contained in:
Toks
2013-09-07 20:41:50 -04:00
parent 07f3c1e655
commit b2b685a251

View File

@@ -49,7 +49,7 @@ module PostsHelper
html = ""
html << "This post belongs to a "
html << link_to("parent", post_path(post.parent_id))
html << link_to("parent", posts_path(:tags => "parent:#{post.parent_id}"))
html << " (deleted)" if parent_post_set.parent.first.is_deleted?
sibling_count = parent_post_set.children.count - 1