Fix bugs
This commit is contained in:
parent
5465d61d50
commit
8ce7d8c921
|
@ -171,7 +171,7 @@ class UsersController < ApplicationController
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
Rails.logger.info("==========projects_json========+########{projects_json}")
|
Rails.logger.info("==========projects_json========+########{projects_json}")
|
||||||
render json: { projects: projects_json }
|
render json: { projects: projects_json.present? ? projects_json : {} }
|
||||||
end
|
end
|
||||||
|
|
||||||
def trustie_projects
|
def trustie_projects
|
||||||
|
|
Loading…
Reference in New Issue