mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
add optional shared link to templates
This commit is contained in:
1 parent
c91b4a765b
commit
e77b5fa2c9
21 files changed
+258
-20
No files matched your search
@@ -9,6 +9,7 @@ module Templates
|
||||
template = original_template.account.templates.new
|
||||
|
||||
template.external_id = external_id
|
||||
template.shared_link = original_template.shared_link
|
||||
template.author = author
|
||||
template.name = name.presence || "#{original_template.name} (#{I18n.t('clone')})"
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ module Templates
|
||||
only: %w[
|
||||
id archived_at fields name preferences schema
|
||||
slug source submitters created_at updated_at
|
||||
author_id external_id folder_id
|
||||
author_id external_id folder_id shared_link
|
||||
],
|
||||
methods: %i[application_key folder_name],
|
||||
include: { author: { only: %i[id email first_name last_name] } }
|
||||
|
||||
Reference in new issue
Block a user