rosa-build/app/policies/user_policy.rb

7 lines
78 B
Ruby

class UserPolicy < ApplicationPolicy
def banned?
!is_banned?
end
end