style documents preview

This commit is contained in:
Alex Turchyn
2023-05-31 00:50:43 +03:00
parent faf6f69e3e
commit 98fc9d964a
11 changed files with 404 additions and 83 deletions
+2
View File
@@ -1,6 +1,8 @@
# frozen_string_literal: true
class FlowsController < ApplicationController
layout false
def show
@flow = current_account.flows.preload(documents_attachments: { preview_images_attachments: :blob })
.find(params[:id])