mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 13:45:44 +08:00
update issue index_to_name response data
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