Fix include `Rails.application.routes.url_helpers` (Rails 7.1 prep) (#27189)

main
Matt Jankowski 2023-09-28 10:52:11 -04:00 committed by GitHub
parent 89a17878ef
commit 99e289f03f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -3,11 +3,12 @@
module RoutingHelper
extend ActiveSupport::Concern
include Rails.application.routes.url_helpers
include ActionView::Helpers::AssetTagHelper
include Webpacker::Helper
included do
include Rails.application.routes.url_helpers
def default_url_options
ActionMailer::Base.default_url_options
end