From 159193bbf56356667e0a7f79fe01674a440f77ad Mon Sep 17 00:00:00 2001 From: 2458773093 <2458773093@protonmail.com> Date: Fri, 16 Aug 2019 01:04:16 +0300 Subject: [PATCH] status edit policy --- app/policies/status_policy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/policies/status_policy.rb b/app/policies/status_policy.rb index 64a5111f..dfe983cf 100644 --- a/app/policies/status_policy.rb +++ b/app/policies/status_policy.rb @@ -36,7 +36,7 @@ class StatusPolicy < ApplicationPolicy alias unreblog? destroy? def update? - staff? + staff? || owned? end private