Add method to update contestants through admin UI

This commit is contained in:
sto
2025-11-18 11:15:23 +01:00
parent ecb36e19ed
commit 63a88ea113
5 changed files with 35 additions and 2 deletions

View File

@@ -26,4 +26,8 @@ class UserPolicy < ApplicationPolicy
def destroy?
user.admin?
end
def update_contestants?
user.admin?
end
end