add more api endpoints

This commit is contained in:
DocuSeal
2023-10-01 01:57:47 +03:00
parent 872fbbc875
commit 1f41807412
9 changed files with 208 additions and 38 deletions
+1
View File
@@ -58,6 +58,7 @@ class Template < ApplicationRecord
has_many :submissions, dependent: :destroy
scope :active, -> { where(deleted_at: nil) }
scope :archived, -> { where.not(deleted_at: nil) }
private