From c781aa3cd210a2bad7b179002bc5e78aa5b8df58 Mon Sep 17 00:00:00 2001 From: maki Date: Thu, 6 Jun 2024 16:25:43 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20m=C3=A9todos=20disk=5Fcontroller=5Fdecor?= =?UTF-8?q?ator.rb=20#102?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/active_storage/disk_controller_decorator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/active_storage/disk_controller_decorator.rb b/app/controllers/active_storage/disk_controller_decorator.rb index 0364efa9..295913bc 100644 --- a/app/controllers/active_storage/disk_controller_decorator.rb +++ b/app/controllers/active_storage/disk_controller_decorator.rb @@ -58,7 +58,7 @@ module ActiveStorage def limits(max_upload_size, max_download_size) ruby_hash = { max_upload_size: max_upload_size, max_download_size: max_download_size } - json_string = JSON.generate(ruby_hash) + JSON.generate(ruby_hash) end private