1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

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

This commit is contained in:
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

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