Sha256: 7c6835bed785c8cffc579f0dc16201d94b17e3e92d193eeaf598002b9928d48c
Contents?: true
Size: 735 Bytes
Versions: 4
Compression:
Stored size: 735 Bytes
Contents
JsRoutes.setup do |c| # Setup your JS module system: # ESM, CJS, AMD, UMD or nil. # c.module_type = "ESM" # Legacy setup for no modules system. # Sets up a global variable `Routes` # that holds route helpers. # c.module_type = nil # c.namespace = "Routes" # Follow javascript naming convention # but lose the ability to match helper name # on backend and frontend consistently. # c.camel_case = true # Generate only helpers that match specific pattern. # c.exclude = /^api_/ # c.include = /^admin_/ # Generate `*_url` helpers besides `*_path` # for apps that work on multiple domains. # c.url_links = true # More options: # @see https://github.com/railsware/js-routes#available-options end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
js-routes-2.3.5 | lib/templates/initializer.rb |
js-routes-2.3.4 | lib/templates/initializer.rb |
js-routes-2.3.3 | lib/templates/initializer.rb |
js-routes-2.3.2 | lib/templates/initializer.rb |