diff options
author | Valery Sizov <valery@gitlab.com> | 2015-02-03 05:25:33 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2015-02-05 23:50:34 +0300 |
commit | 592ed8738cccd68ced1c2fbf58d0ff16d66e8d14 (patch) | |
tree | 362333a23fe20cbb78403a5ecb3d99a151670bf8 /app/controllers/import/github_controller.rb | |
parent | 33349dd54928a0b074b4ae3ebfabf214799fc085 (diff) |
Gitlab.com integration: code folding
Diffstat (limited to 'app/controllers/import/github_controller.rb')
-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 3f0461ead51..08419a37476 100644 --- a/app/controllers/import/github_controller.rb +++ b/app/controllers/import/github_controller.rb @@ -19,7 +19,7 @@ class Import::GithubController < ApplicationController @already_added_projects = current_user.created_projects.where(import_type: "github") already_added_projects_names = @already_added_projects.pluck(:import_source) - @repos.reject!{|repo| already_added_projects_names.include? repo.full_name} + @repos.reject!{ |repo| already_added_projects_names.include? repo.full_name } end def jobs |