diff --git a/app/controllers/import/github_controller.rb b/app/controllers/import/github_controller.rb
index 3f0461ead51fdd504fc0c119b196f06730d9835a..08419a37476f237948b33e6a739f085f16ac1f57 100644
--- a/app/controllers/import/github_controller.rb
+++ b/app/controllers/import/github_controller.rb
@@ -19,7 +19,7 @@ def status
     @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
diff --git a/app/controllers/import/gitlab_controller.rb b/app/controllers/import/gitlab_controller.rb
index 3712af6f0247b0fad19a0bbd5cd5fa423e37827f..448fe6417be8f2ef050700b1045bed58c04826a6 100644
--- a/app/controllers/import/gitlab_controller.rb
+++ b/app/controllers/import/gitlab_controller.rb
@@ -16,11 +16,11 @@ def status
     @already_added_projects = current_user.created_projects.where(import_type: "gitlab")
     already_added_projects_names = @already_added_projects.pluck(:import_source)
 
-    @repos.to_a.reject!{|repo| already_added_projects_names.include? repo["path_with_namespace"]}
+    @repos.to_a.reject!{ |repo| already_added_projects_names.include? repo["path_with_namespace"] }
   end
 
   def jobs
-    jobs = current_user.created_projects.where(import_type: "gitlab").to_json(:only => [:id, :import_status])
+    jobs = current_user.created_projects.where(import_type: "gitlab").to_json(only: [:id, :import_status])
     render json: jobs
   end