From 4d8842c0d47c9822905e5d18bd212e2c7dc088fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Fri, 23 Jul 2021 19:56:30 +0200 Subject: [PATCH] Remove unneeded helpers inclusion We aren't using any methods from these helpers in these models. --- app/models/document.rb | 1 - app/models/image.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/app/models/document.rb b/app/models/document.rb index 886367437..bcc189c3a 100644 --- a/app/models/document.rb +++ b/app/models/document.rb @@ -1,5 +1,4 @@ class Document < ApplicationRecord - include DocumentsHelper include DocumentablesHelper has_attached_file :attachment, url: "/system/:class/:prefix/:style/:hash.:extension", hash_data: ":class/:style/:custom_hash_data", diff --git a/app/models/image.rb b/app/models/image.rb index 961307b23..c944e292c 100644 --- a/app/models/image.rb +++ b/app/models/image.rb @@ -1,5 +1,4 @@ class Image < ApplicationRecord - include ImagesHelper include ImageablesHelper has_attached_file :attachment, styles: {