Domains#index is now the root page
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
<p style="color: green"><%= notice %></p>
|
||||
|
||||
<h1>Domains</h1>
|
||||
|
||||
<div id="domains">
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
<p style="color: green"><%= notice %></p>
|
||||
<h1><%= @domain.domain %></h1>
|
||||
|
||||
<div>
|
||||
@@ -9,7 +8,8 @@
|
||||
<ul>
|
||||
<li><%= link_to "Add #{@domain.domain} email address", new_domain_credential_path(@domain) %>
|
||||
<% @domain.credentials.each do |credential| %>
|
||||
<li><%= credential.email %></li>
|
||||
<li><%= credential.email %> <%= link_to "Edit", edit_domain_credential_path(@domain,credential) %> |
|
||||
<%= button_to "Destroy this credential", [@domain, credential], method: :delete %> </li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user