1993a4449a
Partially addresses #47424.
12 lines
300 B
Ruby
12 lines
300 B
Ruby
# frozen_string_literal: true
|
|
|
|
module ExternalWikiHelper
|
|
def get_project_wiki_path(project)
|
|
external_wiki_service = project.external_wiki
|
|
if external_wiki_service
|
|
external_wiki_service.properties['external_wiki_url']
|
|
else
|
|
project_wiki_path(project, :home)
|
|
end
|
|
end
|
|
end
|