mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
add documents editor
This commit is contained in:
1 parent
ac66809a05
commit
13874b8830
19 files changed
+4130
-56
No files matched your search
@@ -0,0 +1,11 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class TemplateDocumentsPageObjectsController < ApplicationController
|
||||
load_and_authorize_resource :template
|
||||
|
||||
def index
|
||||
attachment = @template.documents_attachments.find_by!(uuid: params[:attachment_uuid])
|
||||
|
||||
render json: Templates::ModifyDocuments.page_objects(attachment, params[:page].to_i)
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user