Align with EE

This commit is contained in:
Lin Jen-Shin 2018-05-09 18:19:44 +08:00
parent 97dda37922
commit 3d93ad103b

View file

@ -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)