From 17d660fd4b8516d6b446f7c41d7b076a29a242a1 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 12 Oct 2023 17:44:38 -0400 Subject: Added comment deleting Also I seem to have fixed the JS errors that were preventing the fancy stuff in the admin panel from working. --- config/initializers/js_routes.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 config/initializers/js_routes.rb (limited to 'config/initializers/js_routes.rb') diff --git a/config/initializers/js_routes.rb b/config/initializers/js_routes.rb new file mode 100644 index 0000000..7bc0c65 --- /dev/null +++ b/config/initializers/js_routes.rb @@ -0,0 +1,7 @@ +JsRoutes.setup do |c| + # Setup your JS module system: + # ESM, CJS, AMD, UMD or nil + # c.module_type = "ESM" + c.module_type = nil + c.namespace = 'Routes' +end -- cgit 1.4.1