mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 05:36:07 +10:00
20 lines
344 B
Ruby
20 lines
344 B
Ruby
module Gitlab
|
|
module GithubImport
|
|
class WikiFormatter
|
|
attr_reader :project
|
|
|
|
def initialize(project)
|
|
@project = project
|
|
end
|
|
|
|
def path_with_namespace
|
|
"#{project.path_with_namespace}.wiki"
|
|
end
|
|
|
|
def import_url
|
|
project.import_url.sub(".git", ".wiki.git")
|
|
end
|
|
end
|
|
end
|
|
end
|