implement submission page

This commit is contained in:
Alex Turchyn
2023-06-20 22:38:38 +03:00
parent 587be1bb67
commit 1da67011c4
17 changed files with 231 additions and 130 deletions
@@ -12,6 +12,8 @@ class SubmissionsController < ApplicationController
Submission.joins(:template).where(template: { account_id: current_account.id })
.preload(template: { documents_attachments: { preview_images_attachments: :blob } })
.find(params[:id])
render :show, layout: 'plain'
end
def new; end