mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 20:55:46 +08:00
Merge pull request '调整 index_to_name response' (#53) from KingChan/forgeplus:chenjing into standalone_develop
This commit is contained in:
@@ -50,7 +50,7 @@ class IssuesController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
def index_to_name
|
def index_to_name
|
||||||
issues_result = @project.issues.where(project_issues_index:params[:index]).map{|e|{project_issues_index:e.project_issues_index,subject:e.subject}}
|
issues_result = @project.issues.where(project_issues_index:params[:index]).map{|e|{id:e.id,project_issues_index:e.project_issues_index,subject:e.subject}}
|
||||||
render json: issues_result
|
render json: issues_result
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user