Update sign up
This commit is contained in:
committed by
Mike Dalessio
parent
edf837fed3
commit
8fa9566c07
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user