mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 02:51:42 +00:00
feat: luego de rechazar podemos reportar
This commit is contained in:
parent
3a382390b1
commit
fd1d2382fa
1 changed files with 5 additions and 0 deletions
|
@ -56,5 +56,10 @@ class ActivityPub < ApplicationRecord
|
|||
event :reject do
|
||||
transitions from: %i[paused approved], to: :rejected
|
||||
end
|
||||
|
||||
# Solo podemos reportarla luego de rechazarla
|
||||
event :report do
|
||||
transitions from: :rejected, to: :reported
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue