From a34b6a07fc49f5dc0d8dbc3049e63daf412c58d5 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Thu, 23 Mar 2017 05:56:26 -0400 Subject: [PATCH] fixed typos --- app/controllers/customers_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/customers_controller.rb b/app/controllers/customers_controller.rb index 821f1a2..e71a5b5 100644 --- a/app/controllers/customers_controller.rb +++ b/app/controllers/customers_controller.rb @@ -146,11 +146,11 @@ class CustomersController < ApplicationController private def add_customer - global_check_permission(:add_customer) + global_check_permission(:add_customers) end def view_customer - global_check_permission(:view_customer) + global_check_permission(:view_customers) end def only_one_non_zero?( array )