status edit policy

This commit is contained in:
2458773093 2019-08-16 01:04:16 +03:00
parent 4ef6af99ee
commit 159193bbf5
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class StatusPolicy < ApplicationPolicy
alias unreblog? destroy?
def update?
staff?
staff? || owned?
end
private