summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-05-09 18:19:44 +0800
committerLin Jen-Shin <godfat@godfat.org>2018-05-09 18:19:44 +0800
commit3d93ad103b32b71d4af330c17227c23a2a167bae (patch)
tree3510821c84b6bf2f1240d059fc2d191b07dc85da
parent97dda37922cf44e6781e4697a80ebb614ad629b5 (diff)
downloadgitlab-ce-3d93ad103b32b71d4af330c17227c23a2a167bae.tar.gz
Align with EE
-rw-r--r--app/controllers/import/base_controller.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/import/base_controller.rb b/app/controllers/import/base_controller.rb
index bcb856ce3f4..663269a0f92 100644
--- a/app/controllers/import/base_controller.rb
+++ b/app/controllers/import/base_controller.rb
@@ -7,9 +7,9 @@ class Import::BaseController < ApplicationController
def find_jobs(import_type)
current_user.created_projects
- .includes(:import_state)
- .where(import_type: import_type)
- .to_json(only: [:id], methods: [:import_status])
+ .includes(:import_state)
+ .where(import_type: import_type)
+ .to_json(only: [:id], methods: [:import_status])
end
def find_or_create_namespace(names, owner)