Commit b555bc3c authored by Nick Thomas's avatar Nick Thomas

Fix NoMethodErrors caused by incorrect module loading

parent 0a22f17b
module ProjectsHelper
include Gitlab::CurrentSettings
prepend ::EE::ProjectsHelper
def link_to_project(project)
link_to [project.namespace.becomes(Namespace), project], title: h(project.name) do
title = content_tag(:span, project.name, class: 'project-name')
......
module EE
module GitlabRoutingHelper
include ProjectsHelper
include ApplicationSettingsHelper
include ::ProjectsHelper
include ::ApplicationSettingsHelper
def geo_primary_web_url(project)
File.join(::Gitlab::Geo.primary_node.url, ::Gitlab::Routing.url_helpers.project_path(project))
......
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