remove BalancePolicy
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
# frozen_string_literal: true
|
||||
class BalancePolicy < ApplicationPolicy
|
||||
class Scope < Scope
|
||||
def resolve
|
||||
return scope.none if user.nil?
|
||||
|
||||
scope.where(user_id: user.id)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user