forgeplus/app/views/pull_requests/new.json.jbuilder

14 lines
368 B
Ruby

json.partial! "commons/success"
json.branches @all_branches
json.issue_tags @project_tags
json.issue_versions @project_versions
json.members do
json.array! @project_members.to_a.each do |member|
json.id member.user_id
json.login member.user.try(:login)
json.name member.user.try(:show_real_name)
json.avatar_url url_to_avatar(member.user)
end
end