mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 22:52:32 -05:00
fix clone template folder
This commit is contained in:
1 parent
d5bf54ee26
commit
ff0d486831
1 file changed
+1
-1
@@ -53,7 +53,7 @@ class TemplatesController < ApplicationController
|
||||
|
||||
if params[:account_id].present? && authorized_clone_account_id?(params[:account_id])
|
||||
@template.account_id = params[:account_id]
|
||||
@template.folder = @template.account.default_template_folder
|
||||
@template.folder = @template.account.default_template_folder if @template.account_id != current_account.id
|
||||
else
|
||||
@template.account = current_account
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user