aboutsummaryrefslogtreecommitdiffstats
path: root/app/javascript/controllers/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/controllers/index.js')
-rw-r--r--app/javascript/controllers/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/javascript/controllers/index.js b/app/javascript/controllers/index.js
new file mode 100644
index 0000000..1156bf8
--- /dev/null
+++ b/app/javascript/controllers/index.js
@@ -0,0 +1,4 @@
+// Import and register all your controllers from the importmap via controllers/**/*_controller
+import { application } from "controllers/application"
+import { eagerLoadControllersFrom } from "@hotwired/stimulus-loading"
+eagerLoadControllersFrom("controllers", application)