Update index.html.erb

This commit is contained in:
2016-04-28 09:14:09 -04:00
parent 5ad4b53b30
commit 543841ad64

View File

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