diff options
Diffstat (limited to 'lib/gitlab/legacy_github_import/wiki_formatter.rb')
-rw-r--r-- | lib/gitlab/legacy_github_import/wiki_formatter.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/legacy_github_import/wiki_formatter.rb b/lib/gitlab/legacy_github_import/wiki_formatter.rb index ea52be5ee0f..cf1e21ad1e1 100644 --- a/lib/gitlab/legacy_github_import/wiki_formatter.rb +++ b/lib/gitlab/legacy_github_import/wiki_formatter.rb @@ -13,6 +13,10 @@ module Gitlab project.wiki.disk_path end + def full_path + project.wiki.full_path + end + def import_url project.import_url.sub(/\.git\z/, ".wiki.git") end |