Align with EE
This commit is contained in:
parent
97dda37922
commit
3d93ad103b
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue