def destroy
      @customer = Customer.find(params[:id])
      @customer.destroy

      respond_to do |format|
        format.html { redirect_to customers_url }
        format.json { head :ok }
      end
    end
def destroy
      @customer = Customer.find(params[:id])
      @customer.destroy

      respond_to do |format|
        format.html { redirect_to customers_url }
        format.json { head :ok }
      end
    end
DELETE /customers/1
 DELETE /customers/1.json