mirror of
https://github.com/docusealco/docuseal
synced 2026-11-08 15:42:32 -05:00
add subfolders
This commit is contained in:
1 parent
69d63ecffe
commit
ec944a2283
35 files changed
+431
-109
No files matched your search
@@ -72,12 +72,14 @@ class Template < ApplicationRecord
|
||||
scope :active, -> { where(archived_at: nil) }
|
||||
scope :archived, -> { where.not(archived_at: nil) }
|
||||
|
||||
delegate :name, to: :folder, prefix: true
|
||||
|
||||
def application_key
|
||||
external_id
|
||||
end
|
||||
|
||||
def folder_name
|
||||
folder.full_name
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def maybe_set_default_folder
|
||||
|
||||
Reference in new issue
Block a user