Update sign up

This commit is contained in:
Stanko K.R.
2025-11-13 15:46:22 +01:00
committed by Mike Dalessio
parent edf837fed3
commit 8fa9566c07
26 changed files with 70 additions and 198 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
class Comment < ApplicationRecord
include Attachments, Eventable, Mentions, Promptable, Searchable
belongs_to :account, default: -> { Current.account }
belongs_to :account, default: -> { card.account }
belongs_to :card, touch: true
belongs_to :creator, class_name: "User", default: -> { Current.user }
has_many :reactions, dependent: :delete_all