Fix markdown property on edit status
This commit is contained in:
parent
25c3915728
commit
8db2f96c36
5 changed files with 10 additions and 2 deletions
|
@ -19,6 +19,7 @@ module StatusSnapshotConcern
|
|||
status_id: id,
|
||||
text: text,
|
||||
spoiler_text: spoiler_text,
|
||||
markdown: markdown,
|
||||
sensitive: sensitive,
|
||||
ordered_media_attachment_ids: ordered_media_attachment_ids&.dup || media_attachments.pluck(:id),
|
||||
media_descriptions: ordered_media_attachments.map(&:description),
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
# media_descriptions :text is an Array
|
||||
# poll_options :string is an Array
|
||||
# sensitive :boolean
|
||||
# markdown :boolean default(FALSE)
|
||||
#
|
||||
|
||||
class StatusEdit < ApplicationRecord
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue