add subfolders

This commit is contained in:
Pete Matsyburka authored and GitHub committed 2025-07-20 08:28:19 +03:00
1 parent 69d63ecffe
commit ec944a2283
35 files changed
+431 -109

No files matched your search

+4 -2
View File
@@ -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