Added customer composite key
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<% @customers.each do |customer| %>
|
||||
<%= render customer %>
|
||||
<p>
|
||||
<%= link_to "Show this customer", customer, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
|
||||
<%= link_to "Show this customer", customer_path(customer), class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
|
||||
</p>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user