summaryrefslogtreecommitdiffhomepage
path: root/src/controllers
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2024-06-06 19:24:45 -0400
committerrealtradam <[email protected]>2024-06-06 19:24:45 -0400
commit34346b1fd4fffd2571374f86b16084066dc4aa2d (patch)
tree1f147151e9b1eb9449394d5adb1827b04c4841c5 /src/controllers
parent7a38eef00de0bb35565dda3ddb1efa748c22ea47 (diff)
downloadmalcz.com-34346b1fd4fffd2571374f86b16084066dc4aa2d.tar.gz
malcz.com-34346b1fd4fffd2571374f86b16084066dc4aa2d.zip
add seperate uploading page and update match backend functionality
Diffstat (limited to 'src/controllers')
-rw-r--r--src/controllers/application.js9
-rw-r--r--src/controllers/hello_controller.js7
-rw-r--r--src/controllers/index.js8
3 files changed, 0 insertions, 24 deletions
diff --git a/src/controllers/application.js b/src/controllers/application.js
deleted file mode 100644
index 1213e85..0000000
--- a/src/controllers/application.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import { Application } from "@hotwired/stimulus"
-
-const application = Application.start()
-
-// Configure Stimulus development experience
-application.debug = false
-window.Stimulus = application
-
-export { application }
diff --git a/src/controllers/hello_controller.js b/src/controllers/hello_controller.js
deleted file mode 100644
index 5975c07..0000000
--- a/src/controllers/hello_controller.js
+++ /dev/null
@@ -1,7 +0,0 @@
-import { Controller } from "@hotwired/stimulus"
-
-export default class extends Controller {
- connect() {
- this.element.textContent = "Hello World!"
- }
-}
diff --git a/src/controllers/index.js b/src/controllers/index.js
deleted file mode 100644
index d0685d3..0000000
--- a/src/controllers/index.js
+++ /dev/null
@@ -1,8 +0,0 @@
-// This file is auto-generated by ./bin/rails stimulus:manifest:update
-// Run that command whenever you add a new controller or create them with
-// ./bin/rails generate stimulus controllerName
-
-import { application } from "./application"
-
-import HelloController from "./hello_controller"
-application.register("hello", HelloController)