fix rubocop

This commit is contained in:
Pete Matsyburka
2026-04-02 12:48:28 +03:00
parent bd7ad5fce8
commit eaedaa96bb
22 changed files with 37 additions and 28 deletions
@@ -12,7 +12,7 @@ class TemplatesCloneController < ApplicationController
def create
ActiveRecord::Associations::Preloader.new(
records: [@base_template],
associations: [schema_documents: :preview_images_attachments]
associations: [{ schema_documents: :preview_images_attachments }]
).call
@template = Templates::Clone.call(@base_template, author: current_user,