status edit policy

This commit is contained in:
2458773093 2019-08-16 01:04:16 +03:00
parent 4ef6af99ee
commit 159193bbf5

View File

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