mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
clone template preferences
This commit is contained in:
1 parent
fbae4933f6
commit
3168feb3d6
1 file changed
+1
@@ -11,6 +11,7 @@ module Templates
|
||||
|
||||
template.external_id = external_id
|
||||
template.author = author
|
||||
template.preferences = original_template.preferences.deep_dup
|
||||
template.name = name || "#{original_template.name} (Clone)"
|
||||
|
||||
template.assign_attributes(original_template.slice(:folder_id, :schema))
|
||||
|
||||
Reference in new issue
Block a user