forked from Gitlink/forgeplus
FIX 解决老版本trustie项目链接错误的问题
This commit is contained in:
parent
401798ebdd
commit
9cd54b0ccb
|
@ -191,7 +191,7 @@ class UsersController < ApplicationController
|
|||
def trustie_related_projects
|
||||
projects = Project.includes(:owner, :members, :project_score).where(id: params[:ids]).order("updated_on desc")
|
||||
projects_json = []
|
||||
domain_url = EduSetting.get('host_name') + '/projects'
|
||||
domain_url = EduSetting.get('host_name')
|
||||
if projects.present?
|
||||
projects.each do |p|
|
||||
project_url = "/#{p.owner.login}/#{p.identifier}"
|
||||
|
|
Loading…
Reference in New Issue