remove BalancePolicy

This commit is contained in:
João Geonizeli
2021-09-13 20:58:07 -03:00
parent 5b1dc56837
commit c261eae057
2 changed files with 0 additions and 21 deletions

View File

@@ -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