Remove unused helper methods

They aren't used since commits a6585361, 3752f3a5, 88a7a29d, eef8ad1b,
f67f058b, 04910fea and 9181610d. The method `image_bytes_to_megabytes`
was never used and is a duplicate of the method `bytes_to_megabytes`.
This commit is contained in:
Javi Martín
2019-11-09 23:50:07 +01:00
parent 23d132c3d3
commit 3eda2de2d5
7 changed files with 0 additions and 51 deletions

View File

@@ -11,10 +11,6 @@ module DocumentsHelper
bytes / Numeric::MEGABYTE
end
def document_nested_field_wrapper_id(index)
"document_#{index}"
end
def render_destroy_document_link(builder, document)
if !document.persisted? && document.cached_attachment.present?
link_to t("documents.form.delete_button"),