about summary refs log tree commit diff stats
path: root/config/initializers/js_routes.rb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-12 17:44:38 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-12 17:44:38 -0400
commit17d660fd4b8516d6b446f7c41d7b076a29a242a1 (patch)
tree115e7f3c1a3aa5bdc29dfa6d0c994eb795c658f6 /config/initializers/js_routes.rb
parent835af696703484208882a70cc5dd47c5838ecf58 (diff)
downloadthoughts-17d660fd4b8516d6b446f7c41d7b076a29a242a1.tar.gz
thoughts-17d660fd4b8516d6b446f7c41d7b076a29a242a1.tar.bz2
thoughts-17d660fd4b8516d6b446f7c41d7b076a29a242a1.zip
Added comment deleting
Also I seem to have fixed the JS errors that were preventing the fancy stuff in the admin panel from working.
Diffstat (limited to 'config/initializers/js_routes.rb')
-rw-r--r--config/initializers/js_routes.rb7
1 files changed, 7 insertions, 0 deletions
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 @@
1JsRoutes.setup do |c|
2 # Setup your JS module system:
3 # ESM, CJS, AMD, UMD or nil
4 # c.module_type = "ESM"
5 c.module_type = nil
6 c.namespace = 'Routes'
7end