exclude before filter for customer/view

This commit is contained in:
2022-02-20 13:42:06 -05:00
parent 1b15aecbff
commit 09313ad471

View File

@@ -28,7 +28,7 @@ class CustomersController < ApplicationController
helper :timelog helper :timelog
before_action :add_customer, :only => :new before_action :add_customer, :only => :new
before_action :view_customer, :except => :new before_action :view_customer, :except => [:new, :view]
skip_before_action :verify_authenticity_token, :check_if_login_required, :only => [:view] skip_before_action :verify_authenticity_token, :check_if_login_required, :only => [:view]
default_search_scope :names default_search_scope :names