Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2017-02-13 18:43:17 +0300
committerJames Lopez <james@jameslopez.es>2017-02-16 12:02:26 +0300
commitb3fb5b4f26b609ad41ccb0837e599fa50c22b55f (patch)
tree1ec8e4696ffe1f0c8b654005db9ea03d977e2481 /app/models/project_wiki.rb
parent01dfedbcad2b8c0988036f9083642a51ee4e9268 (diff)
Use gitlab shell import instead of manually creating the webhooks
Also update repo restorer to use project wiki method.
Diffstat (limited to 'app/models/project_wiki.rb')
-rw-r--r--app/models/project_wiki.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/project_wiki.rb b/app/models/project_wiki.rb
index 9db96347322..d0b991db112 100644
--- a/app/models/project_wiki.rb
+++ b/app/models/project_wiki.rb
@@ -160,6 +160,10 @@ class ProjectWiki
}
end
+ def repository_storage_path
+ project.repository_storage_path
+ end
+
private
def init_repo(path_with_namespace)