Update index.html.erb

This commit is contained in:
2016-05-11 07:31:52 -04:00
parent 6305dc73ac
commit d13609ff4a

View File

@@ -4,8 +4,7 @@
<div class="row">
<div class="span6 columns">
<fieldset>
<% @customer = c %>
<%= render :partial => 'customers/details' %>
<%= render :partial => 'customers/details', locals: {customer: c} %>
<%= button_to "Show", customer_path(c.id), method: :get %>
</fieldset>
</div>