From cd5ed4f3a728335ef6283dc89f93014413befbb9 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Tue, 26 Apr 2016 14:09:15 -0400 Subject: [PATCH] Update index.html.erb --- app/views/customers/index.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/customers/index.html.erb b/app/views/customers/index.html.erb index 97001ea..52c9b60 100644 --- a/app/views/customers/index.html.erb +++ b/app/views/customers/index.html.erb @@ -1,6 +1,6 @@

Customers


-<% QboCustomer.all.each do |c| %> +<% @customers do |c| %>
@@ -11,6 +11,8 @@
<% end %> +<%= @customer_pages %> +
<%= button_to "New", new_customer_path, method: :get %>