diff --git a/app/views/content/panels/_associations.html.erb b/app/views/content/panels/_associations.html.erb index 2db259b9..1ea953bf 100644 --- a/app/views/content/panels/_associations.html.erb +++ b/app/views/content/panels/_associations.html.erb @@ -31,6 +31,7 @@ <%# TODO: remove these after writing link migration script %> <% relations.each do |name, params| %> + <% next %> <% results = params[:related_class].where("#{params[:through_relation].downcase}_id": content.id) .map { |content| content.send(params[:inverse_class].downcase) }