Fix include `Rails.application.routes.url_helpers` (Rails 7.1 prep) (#27189)
This commit is contained in:
parent
89a17878ef
commit
99e289f03f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue