Update index.html.erb

This commit is contained in:
2016-04-28 09:12:58 -04:00
parent bfec64de54
commit 5ad4b53b30

View File

@@ -1,10 +1,9 @@
<h1>Customers</h1>
<br/>
<% @customers.each do |c| %>
<% @customers.each do |@customer| %>
<div class="row">
<div class="span6 columns">
<fieldset>
<% @customer = c.name%>
<%= render :partial => 'customers/details' %>
<%= button_to "Show", customer_path(c.id), method: :get %>
</fieldset>