Connections List
<% @modules_connections.each do |modules_connection| %> <% end %>
Category Posts
<%= modules_connection.category.catname %> <%= modules_connection.post.psttitle %> <%= link_to 'Show', modules_connection, class: "btn btn-primary btn-xs" %> <%= link_to 'Edit', edit_modules_connection_path(modules_connection), class: "btn btn-primary btn-xs" %> <%= link_to 'Destroy', modules_connection, class: "btn btn-primary btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %>
<%= link_to 'New Connection', new_modules_connection_path, class: "btn btn-primary" %>