diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-03-12 15:47:15 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-03-12 15:47:15 +0300 |
commit | 3175438f02ca4bc0469aca097e02b2671865ef43 (patch) | |
tree | 0fb6bc2462867c64e4b773d57eea4c8a3f177c8c /app/controllers/import | |
parent | 82bb3ec33d1978101231ac2cc144be647417105e (diff) |
Fix missing GitHub organisation repositories on import page.
Diffstat (limited to 'app/controllers/import')
-rw-r--r-- | app/controllers/import/github_controller.rb | 2 |
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") |