nil fix when getting post title
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<% post = neighbor.post %>
|
||||
<% creator = post.class.has_creators? ? post.creator : nil %>
|
||||
<div class="text-md flex items-center px-4 py-1 <%= border_classes %>">
|
||||
<%= render "domain/has_description_html/inline_link_domain_post", post: post, link_text: post.title, visual_style: "sky-link" %>
|
||||
<%= render "domain/has_description_html/inline_link_domain_post", post: post, link_text: post.title_for_view, visual_style: "sky-link" %>
|
||||
</div>
|
||||
<% if creator %>
|
||||
<div class="text-md items-center px-4 py-1 <%= border_classes %>">
|
||||
|
||||
Reference in New Issue
Block a user