Simplify imageable/documentable note method names

This commit is contained in:
Javi Martín
2021-07-11 22:03:32 +02:00
parent 67c29a7c5f
commit c9903f36cc
4 changed files with 4 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ class Images::NestedComponent < ApplicationComponent
f.object
end
def imageables_note
def note
t "images.form.note", accepted_content_types: imageable_humanized_accepted_content_types,
max_file_size: imageable_max_file_size
end