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:
authorDouwe Maan <douwe@gitlab.com>2015-03-12 15:47:15 +0300
committerDouwe Maan <douwe@gitlab.com>2015-03-12 15:47:15 +0300
commit3175438f02ca4bc0469aca097e02b2671865ef43 (patch)
tree0fb6bc2462867c64e4b773d57eea4c8a3f177c8c /app/controllers/import
parent82bb3ec33d1978101231ac2cc144be647417105e (diff)
Fix missing GitHub organisation repositories on import page.
Diffstat (limited to 'app/controllers/import')
-rw-r--r--app/controllers/import/github_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/import/github_controller.rb b/app/controllers/import/github_controller.rb
index dc7668ee6fd..8650b6464dc 100644
--- a/app/controllers/import/github_controller.rb
+++ b/app/controllers/import/github_controller.rb
@@ -14,7 +14,7 @@ class Import::GithubController < Import::BaseController
def status
@repos = client.repos
client.orgs.each do |org|
- @repos += client.repos(org.login)
+ @repos += client.org_repos(org.login)
end
@already_added_projects = current_user.created_projects.where(import_type: "github")