From b44996d176ec0d9d589c60948f07e0ab06613082 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Wed, 25 Dec 2024 12:20:19 +0100 Subject: [PATCH] Remove deprecated prefix option from JsRoutes With the latest release, the default_url_options (imported and configured through Rails) is sufficient. --- config/initializers/js_routes.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/config/initializers/js_routes.rb b/config/initializers/js_routes.rb index 2bac29358..3b1b2f6a1 100644 --- a/config/initializers/js_routes.rb +++ b/config/initializers/js_routes.rb @@ -2,6 +2,5 @@ JsRoutes.setup do |config| config.documentation = false - config.prefix = Rails.application.config.relative_url_root config.url_links = true end