Fix wrong policy authorization in admin controllers (#35588)
This commit is contained in:
@@ -36,7 +36,7 @@ module Admin
|
||||
end
|
||||
|
||||
def edit
|
||||
authorize :domain_block, :create?
|
||||
authorize :domain_block, :update?
|
||||
end
|
||||
|
||||
def create
|
||||
|
||||
Reference in New Issue
Block a user