mirror of
https://github.com/docusealco/docuseal
synced 2026-11-09 07:42:32 -05:00
ability to share template with testing account
This commit is contained in:
1 parent
8630c68631
commit
c67188edf8
25 files changed
+454
-206
No files matched your search
@@ -57,6 +57,7 @@ class Template < ApplicationRecord
|
||||
class_name: 'ActiveStorage::Attachment', dependent: :destroy, as: :record, inverse_of: :record
|
||||
|
||||
has_many :submissions, dependent: :destroy
|
||||
has_many :template_sharings, dependent: :destroy
|
||||
|
||||
scope :active, -> { where(archived_at: nil) }
|
||||
scope :archived, -> { where.not(archived_at: nil) }
|
||||
|
||||
Reference in new issue
Block a user