app/views/domains/_domain.html.erb
<%= content_tag :tr, id: dom_id(domain), class: "domain" do %>
<td><%= domain.name %></td>
<td class="actions is-link"><%= link_to "delete",
server_app_domain_path(domain.app.server, domain.app, domain),
remote: true, method: :delete %></td>
<% end %>