Resolve Pundit deprecation warning
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
class ApplicationController < ActionController::Base
|
class ApplicationController < ActionController::Base
|
||||||
include ApplicationHelper
|
include ApplicationHelper
|
||||||
include Pundit
|
include Pundit::Authorization
|
||||||
|
|
||||||
MEMBER_ACTIONS = %i[destroy edit show update].freeze
|
MEMBER_ACTIONS = %i[destroy edit show update].freeze
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user