Skip to content

Commit

Permalink
Remove deprecated prefix option from JsRoutes
Browse files Browse the repository at this point in the history
With the latest release, the default_url_options (imported and configured through Rails) is sufficient.
  • Loading branch information
MrSerth committed Dec 26, 2024
1 parent 98f19c9 commit b44996d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion config/initializers/js_routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@

JsRoutes.setup do |config|
config.documentation = false
config.prefix = Rails.application.config.relative_url_root
config.url_links = true
end

0 comments on commit b44996d

Please sign in to comment.