admin tool for editing pro status of accounts

This commit is contained in:
2458773093
2019-07-16 00:51:05 +03:00
parent 6226cc1dfd
commit 826773ee79
6 changed files with 40 additions and 1 deletions

View File

@@ -61,6 +61,10 @@ class AccountPolicy < ApplicationPolicy
staff?
end
def edit_pro?
staff?
end
def update_badges?
staff?
end