mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 20:26:22 +00:00
Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl
This commit is contained in:
commit
c938e6dd1e
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class ActivityPub
|
||||||
include AASM
|
include AASM
|
||||||
|
|
||||||
validates :aasm_state, presence: true, inclusion: { in: %w[paused allowed blocked] }
|
validates :aasm_state, presence: true, inclusion: { in: %w[paused allowed blocked] }
|
||||||
validates :hostname, uniqueness: true, hostname: true
|
validates :hostname, uniqueness: true, hostname: { allow_numeric_hostname: true }
|
||||||
|
|
||||||
has_many :activity_pubs
|
has_many :activity_pubs
|
||||||
has_many :actors
|
has_many :actors
|
||||||
|
|
Loading…
Reference in a new issue