add folder name to submission resp

This commit is contained in:
Pete Matsyburka
2024-04-11 16:36:53 +03:00
parent 6f5ebfc8a6
commit 33c0784bc6
3 changed files with 7 additions and 5 deletions
+2
View File
@@ -62,6 +62,8 @@ 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