Add admin ability to remove an user's header image (#9495)
* Fix markup in admin/accounts/:id table for avatar * Add admin ability to remove an user's header image
This commit is contained in:
parent
720daa8143
commit
cf6ee4ff24
5 changed files with 26 additions and 3 deletions
|
@ -33,6 +33,10 @@ class AccountPolicy < ApplicationPolicy
|
|||
staff?
|
||||
end
|
||||
|
||||
def remove_header?
|
||||
staff?
|
||||
end
|
||||
|
||||
def subscribe?
|
||||
admin?
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue