add template access

This commit is contained in:
Pete Matsyburka committed 2024-12-08 14:52:22 +02:00
1 parent bacbc4309c
commit 1746920eb5
21 files changed
+139 -17

No files matched your search

+1
View File
@@ -54,6 +54,7 @@ class Submitter < ApplicationRecord
has_many_attached :documents
has_many_attached :attachments
has_many_attached :preview_documents
has_many :template_accesses, through: :template
has_many :document_generation_events, dependent: :destroy
has_many :submission_events, dependent: :destroy