* Add js-routes gem * Update config/initializers/js_routes.rb Co-authored-by: Suzanne Aitchison <suzanne@forem.com> * Remove routes form base.jsx Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
6 lines
137 B
Ruby
6 lines
137 B
Ruby
JsRoutes.setup do |c|
|
|
c.camel_case = true
|
|
# Setup your JS module system:
|
|
# ESM, CJS, AMD, UMD or nil
|
|
# c.module_type = "ESM"
|
|
end
|