From 2d140a266d177a9e113de9d8853a49fc09501ad6 Mon Sep 17 00:00:00 2001 From: Aung Myo Date: Mon, 9 Oct 2017 10:29:00 +0630 Subject: [PATCH] update controller --- app/controllers/crm/customers_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/crm/customers_controller.rb b/app/controllers/crm/customers_controller.rb index 2a0626dd..8a6bb0f3 100644 --- a/app/controllers/crm/customers_controller.rb +++ b/app/controllers/crm/customers_controller.rb @@ -1,4 +1,4 @@ -class Crm::CustomersController < BaseCrmController +class Crm::CustomersController < ApplicationController#BaseCrmController load_and_authorize_resource except: [:create] before_action :set_crm_customer, only: [:show, :edit, :update, :destroy]