Fix include Rails.application.routes.url_helpers
(Rails 7.1 prep) (#27189)
This commit is contained in:
parent
89a17878ef
commit
99e289f03f
1 changed files with 2 additions and 1 deletions
|
@ -3,11 +3,12 @@
|
||||||
module RoutingHelper
|
module RoutingHelper
|
||||||
extend ActiveSupport::Concern
|
extend ActiveSupport::Concern
|
||||||
|
|
||||||
include Rails.application.routes.url_helpers
|
|
||||||
include ActionView::Helpers::AssetTagHelper
|
include ActionView::Helpers::AssetTagHelper
|
||||||
include Webpacker::Helper
|
include Webpacker::Helper
|
||||||
|
|
||||||
included do
|
included do
|
||||||
|
include Rails.application.routes.url_helpers
|
||||||
|
|
||||||
def default_url_options
|
def default_url_options
|
||||||
ActionMailer::Base.default_url_options
|
ActionMailer::Base.default_url_options
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue