mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
provide defaults for gallery description and spoiler warnings
This commit is contained in:
parent
d6592efa0e
commit
c92fd79868
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ defmodule Philomena.Galleries.Gallery do
|
|||
has_many :subscribers, through: [:subscriptions, :user]
|
||||
|
||||
field :title, :string
|
||||
field :spoiler_warning, :string
|
||||
field :description, :string
|
||||
field :spoiler_warning, :string, default: ""
|
||||
field :description, :string, default: ""
|
||||
field :image_count, :integer
|
||||
field :order_position_asc, :boolean
|
||||
|
||||
|
|
Loading…
Reference in a new issue