Sha256: cfc9529dcf3a47a63341bca5023ed8a53e2a88078f5accbdbfa8865e5de9d83d

Contents?: true

Size: 230 Bytes

Versions: 4

Compression:

Stored size: 230 Bytes

Contents

# frozen_string_literal: true

JsRoutes.setup do |config|
  config.module_type = 'NIL'
  config.namespace = 'Routes'
  config.prefix = ActionController::Base.relative_url_root.to_s
  config.url_links = true
end
JsRoutes.generate!

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kaui-3.0.4 config/initializers/js_routes.rb
kaui-3.0.2 config/initializers/js_routes.rb
kaui-2.2.1 config/initializers/js_routes.rb
kaui-3.0.1 config/initializers/js_routes.rb