This commit is contained in:
parent
2827e28b07
commit
5580a96fe7
|
@ -5,8 +5,8 @@ json.total_count @issues.total_count
|
|||
json.has_created_issues @project.issues.size > 0
|
||||
json.issues @issues.each do |issue|
|
||||
if params[:only_name].present?
|
||||
json.partial! "simple_detail", locals: {issue: issue}
|
||||
else
|
||||
json.(issue, :id, :subject)
|
||||
else
|
||||
json.partial! "simple_detail", locals: {issue: issue}
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue