mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
improve log
This commit is contained in:
1 parent
5f5dabd0e5
commit
5b1a4ebffd
7 files changed
+47
-33
No files matched your search
@@ -12,6 +12,8 @@ class PreviewDocumentPageController < ActionController::API
|
||||
|
||||
return head :not_found unless attachment
|
||||
|
||||
@template = attachment.record
|
||||
|
||||
preview_image = attachment.preview_images.joins(:blob)
|
||||
.find_by(blob: { filename: ["#{params[:id]}.png", "#{params[:id]}.jpg"] })
|
||||
|
||||
|
||||
Reference in new issue
Block a user