%
route = fn p -> ~p"/images/#{@image}/comments?#{p}" end
pagination = render(PhilomenaWeb.PaginationView, "_pagination.html", page: @comments, route: route)
%>
<%= for {comment, body} <- @comments, can_view_communication?(@conn, comment) do %>
<%= render(PhilomenaWeb.CommentView, "_comment.html", comment: comment, body: body, conn: @conn) %>
<% end %>