From ba18275ef875a11952959c2f648758b37c1fc803 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 1 Aug 2016 15:37:32 -0400 Subject: [PATCH] Update index.html.erb --- app/views/customers/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/customers/index.html.erb b/app/views/customers/index.html.erb index 06e749d..bbf866e 100644 --- a/app/views/customers/index.html.erb +++ b/app/views/customers/index.html.erb @@ -5,7 +5,7 @@ <%= submit_tag "Search" %> <% end %>
-<% if @customers.present? %> +<% if @customers.present? or !@customers.nil? %>
<% @customers.each do |c| %>