Add bort policy

This commit is contained in:
Bort 2023-04-28 18:12:20 +00:00
parent 2a58c64f75
commit f320efcf98

View File

@ -24,7 +24,7 @@ class TablePolicy
end
def play_now?
false
@current_user.admin? || @current_user.email == "bort@13.24x7.hk"
end
def new_game?