Update customers_controller.rb

This commit is contained in:
2016-08-10 22:38:26 -04:00
committed by GitHub
parent 3b4e55727c
commit ad8d15203e

View File

@@ -18,6 +18,8 @@ class CustomersController < ApplicationController
default_search_scope :names
autocomplete :customer, :name, :full => true
# display a list of all customers
def index
if params[:search]