Fix deprecated Pundit import syntax
This commit is contained in:
parent
f172464666
commit
d3dbd052f4
@ -6,7 +6,7 @@ module PunditHelper
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
include Pundit
|
||||
include Pundit::Authorization
|
||||
# https://github.com/elabs/pundit#ensuring-policies-are-used
|
||||
#after_action :verify_authorized, except: :index
|
||||
#after_action :verify_policy_scoped, only: :index
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user