From ff9ce25b01ebd58674dafd54f29c4b0c9307c351 Mon Sep 17 00:00:00 2001 From: evazion Date: Tue, 6 Nov 2018 13:11:11 -0600 Subject: [PATCH] Fix #3973: Pool gallery is broken. --- app/views/posts/partials/index/_preview.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/posts/partials/index/_preview.html.erb b/app/views/posts/partials/index/_preview.html.erb index fb22cfce5..0d51864b1 100644 --- a/app/views/posts/partials/index/_preview.html.erb +++ b/app/views/posts/partials/index/_preview.html.erb @@ -8,7 +8,7 @@ <% end -%> <% if pool -%>

- <%= link_to truncate(pool.pretty_name, 80), pool_path(pool.id) %> + <%= link_to pool.pretty_name.truncate(80), pool %>

<% end -%> <% if similarity -%>