From ab68b1cf89f480e3be62b11939edf665a6e9a840 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Tue, 26 Apr 2016 09:16:32 -0400 Subject: [PATCH] Create index.html.erb --- app/views/customers/index.html.erb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 app/views/customers/index.html.erb diff --git a/app/views/customers/index.html.erb b/app/views/customers/index.html.erb new file mode 100644 index 0000000..c0231e3 --- /dev/null +++ b/app/views/customers/index.html.erb @@ -0,0 +1,15 @@ +

Customers

+
+<% QboCustomers.all.each do |c| %> +
+
+
+ <% @customer = c.name%> +
+
+
+<% end %> + +
+ <%= button_to "New", new_customer_path, method: :get %> +