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| %>