diff --git a/app/views/topics/show.html.erb b/app/views/topics/show.html.erb index d064f79d864..b9c3c5bda86 100644 --- a/app/views/topics/show.html.erb +++ b/app/views/topics/show.html.erb @@ -60,6 +60,14 @@
+ <% if @topic_view.link_counts[post.id] && @topic_view.link_counts[post.id].length > 0 %> + <% @topic_view.link_counts[post.id].each do |link| %> + <% if link[:reflection] && link[:title].present? %> + <%=link[:title]%> +
+ <% end %> + <% end %> + <% end %> <% end %> <% end %>