shared link true default

This commit is contained in:
Pete Matsyburka committed 2025-06-01 13:21:11 +03:00
1 parent 24d713dec6
commit e41fe5fbca
2 files changed
+18 -17

No files matched your search

+1
View File
@@ -46,6 +46,7 @@ class Template < ApplicationRecord
attribute :preferences, :string, default: -> { {} }
attribute :fields, :string, default: -> { [] }
attribute :shared_link, :boolean, default: true
attribute :schema, :string, default: -> { [] }
attribute :submitters, :string, default: -> { [{ name: I18n.t(:first_party), uuid: SecureRandom.uuid }] }
attribute :slug, :string, default: -> { SecureRandom.base58(14) }