style documents preview

This commit is contained in:
Alex Turchyn committed 2023-06-01 00:01:15 +03:00
1 parent faf6f69e3e
commit 98fc9d964a
11 files changed
+404 -83

No files matched your search

+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])