mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 23:12:33 -05:00
make pdf links clickable
This commit is contained in:
1 parent
c4daf8ed49
commit
52ef0ae929
17 files changed
+131
-44
No files matched your search
@@ -38,6 +38,10 @@ class Submission < ApplicationRecord
|
||||
|
||||
attribute :source, :string, default: 'link'
|
||||
|
||||
has_many :template_schema_documents,
|
||||
->(e) { where(uuid: (e.template_schema.presence || e.template.schema).pluck('attachment_uuid')) },
|
||||
through: :template, source: :documents_attachments
|
||||
|
||||
scope :active, -> { where(deleted_at: nil) }
|
||||
|
||||
enum :source, {
|
||||
|
||||
Reference in new issue
Block a user