Skip to content

Commit b44996d

Browse files
committed
Remove deprecated prefix option from JsRoutes
With the latest release, the default_url_options (imported and configured through Rails) is sufficient.
1 parent 98f19c9 commit b44996d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

config/initializers/js_routes.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22

33
JsRoutes.setup do |config|
44
config.documentation = false
5-
config.prefix = Rails.application.config.relative_url_root
65
config.url_links = true
76
end

0 commit comments

Comments
 (0)