Slowly getting the nested controllers working

More tests required
This commit is contained in:
2023-06-21 09:31:20 +01:00
parent b76375d086
commit 1eb8c2753f
6 changed files with 26 additions and 6 deletions

View File

@@ -3,12 +3,11 @@
<h1>Domains</h1>
<div id="domains">
<ul>
<% @domains.each do |domain| %>
<%= render domain %>
<p>
<%= link_to "Show this domain", domain %>
</p>
<li><%= link_to domain.domain, domain %></li>
<% end %>
</ul>
</div>
<%= link_to "New domain", new_domain_path %>