5
0
Fork 0
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:
f 2024-02-22 18:42:36 -03:00
parent 3a382390b1
commit fd1d2382fa
No known key found for this signature in database

View file

@ -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