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

local
Matt Jankowski 8 months ago committed by GitHub
parent 89a17878ef
commit 99e289f03f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/helpers/routing_helper.rb

@ -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…
Cancel
Save