mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
add redact color
This commit is contained in:
1 parent
73ce10b26a
commit
d1535c4cd8
6 files changed
+68
-14
No files matched your search
@@ -10,7 +10,7 @@ class TemplateDocumentsModifyController < ApplicationController
|
||||
params.require(:documents).map do |item|
|
||||
item.permit(:attachment_uuid,
|
||||
pages: [:attachment_uuid, :page, :rotate,
|
||||
{ redact: [%i[x y w h]], replaced_page: %i[attachment_uuid page] }]).to_h
|
||||
{ redact: [%i[x y w h color]], replaced_page: %i[attachment_uuid page] }]).to_h
|
||||
end
|
||||
|
||||
Templates::ModifyDocuments.call(@template, documents_layout)
|
||||
|
||||
Reference in new issue
Block a user