Add login & user tests
All checks were successful
CI / scan_ruby (push) Successful in 15s
CI / scan_js (push) Successful in 12s
CI / lint (push) Successful in 12s
CI / test (push) Successful in 35s

This commit is contained in:
sto
2025-03-27 10:26:03 +01:00
parent 7023600cd1
commit 26b8064553
7 changed files with 123 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
class UserPolicy < ApplicationPolicy
def index
def index?
user.admin?
end