mirror of
https://github.com/tildeverse/lobsters
synced 2024-06-20 07:27:05 +00:00
save
This commit is contained in:
parent
9d09ca98b7
commit
be30622630
|
@ -13,6 +13,7 @@ class Domain < ApplicationRecord
|
|||
self.banned_at = Time.current
|
||||
self.banned_by_user_id = banner.id
|
||||
self.banned_reason = reason
|
||||
self.save!
|
||||
|
||||
m = Moderation.new
|
||||
m.moderator_user_id = banner.id
|
||||
|
|
Loading…
Reference in New Issue
Block a user