diff options
Diffstat (limited to 'config/initializers/js_routes.rb')
-rw-r--r-- | config/initializers/js_routes.rb | 7 |
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 @@ | |||
1 | JsRoutes.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' | ||
7 | end | ||