Commit 1c3f664a authored by Robert Speicher's avatar Robert Speicher

Merge branch 'sh-fix-ce-application-settings-helper' into 'master'

[RUN ALL RSPEC] Fix application settings helpers not being loaded in FOSS

See merge request gitlab-org/gitlab!56544
parents 4eceeb13 30b879d6
......@@ -4,6 +4,8 @@
module GitlabRoutingHelper
extend ActiveSupport::Concern
include ::ProjectsHelper
include ::ApplicationSettingsHelper
include API::Helpers::RelatedResourcesHelpers
included do
Gitlab::Routing.includes_helpers(self)
......
......@@ -36,6 +36,8 @@ class Project < ApplicationRecord
include Integration
include Repositories::CanHousekeepRepository
include EachBatch
include GitlabRoutingHelper
extend Gitlab::Cache::RequestCache
extend Gitlab::Utils::Override
......
......@@ -2,9 +2,6 @@
module EE
module GitlabRoutingHelper
include ::ProjectsHelper
include ::ApplicationSettingsHelper
def geo_primary_web_url(container)
File.join(::Gitlab::Geo.primary_node.url, container.full_path)
end
......
......@@ -843,5 +843,3 @@ module EE
end
end
end
EE::Project.include_if_ee('::EE::GitlabRoutingHelper')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment