From a75cf1f1f016cdaf41328d8f601e2a97e51e039b Mon Sep 17 00:00:00 2001 From: Nando Vieira Date: Wed, 5 Jan 2022 17:52:05 -0800 Subject: [PATCH] Export other ActiveStorage JavaScript modules. --- activestorage/app/javascript/activestorage/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/activestorage/app/javascript/activestorage/index.js b/activestorage/app/javascript/activestorage/index.js index a340008fb9..d8e3f150c4 100644 --- a/activestorage/app/javascript/activestorage/index.js +++ b/activestorage/app/javascript/activestorage/index.js @@ -1,6 +1,8 @@ import { start } from "./ujs" import { DirectUpload } from "./direct_upload" -export { start, DirectUpload } +import { DirectUploadController } from "./direct_upload_controller" +import { DirectUploadsController } from "./direct_uploads_controller" +export { start, DirectUpload, DirectUploadController, DirectUploadsController } function autostart() { if (window.ActiveStorage) {